Cisco-IOS-XR-ethernet-cfm-cfg API API Reference

API Endpoint
http://{Controller-IP}:{Controller-Port}/restconf/config/network-topology:network-topology/topology/topology-netconf/node/inetri/yang-ext:mount/
URL '/' code: %2F
Schemes: http
Version: 1.0.0
Leaf Color Code:
   Key  Mandatory  Optional

Paths

GLOBAL-INTERFACE-CONFIGURATION - Update

PUT Cisco-IOS-XR-ifmgr-cfg:global-interface-configuration/

Update operation of resource: global-interface-configuration

global-interface-configurationbody object

Request Content-Types: application/json
Request Example
{    
"link-status": "string" Enable or disable link-status messages
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

GLOBAL-INTERFACE-CONFIGURATION - Create

POST Cisco-IOS-XR-ifmgr-cfg:global-interface-configuration/

Create operation of resource: global-interface-configuration

global-interface-configurationbody object

Request Content-Types: application/json
Request Example
{    
"link-status": "string" Enable or disable link-status messages
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

GLOBAL-INTERFACE-CONFIGURATION - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:global-interface-configuration/

Delete operation of resource: global-interface-configuration

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

GLOBAL-INTERFACE-CONFIGURATION - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:global-interface-configuration/

Retrieve operation of resource: global-interface-configuration

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"link-status": "string" Enable or disable link-status messages
} }

INTERFACE-CONFIGURATIONS - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/

Update operation of resource: interface-configurations

interface-configurationsbody object

Request Content-Types: application/json
Request Example
{      {
        
"interface-mode-non-physical": "string", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software subinterface.
"description": "string", The description of this interface
"interface-virtual": "null", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software virtual/subinterface.
"ingress": "null", Per MAC address accounting statistics
"egress": "null" Per MAC address accounting statistics
},
"bandwidth": "integer", The bandwidth of the interface in kbps
range: "0..4294967295"
units: "kbit/s"
"filtering": "string", Ingress Ethernet frame filtering
{
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } },
"shutdown": "null", The existence of this configuration indicates\nthe interface is shut down
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"vlan-identifier": "string" The VLAN tag stack associated with this\nsub-interface.
},
"tunneling-ethertype": "string" The outer ethertype used in Q-in-Q frames. The\ndefault value is 0x8100
},
"active": "string", Whether the interface is active or\npreconfigured
"encapsulation": "string", The encapsulation of this Ethernet service
"capsulation-options": "integer" The options for this capsulation, usually '0'
},
"host-routing": "null" Enable host-routing on this BVI
},
"carrier-delay-up": "integer", Carrier Delay (up) in msecs
range: "1..65535"
"carrier-delay-down": "integer" Carrier Delay down in msecs, must be set to 0
},
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} },
"propagate-remote-status": "null", Enable propagation of the remote\nattachment-circuit link state to the\nlocalattachment-circuit link state
{
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] },
"enabled": "null", This object is only valid on physical\ninterfaces and it controls whether that\ninterface is a port mode Layer 2 attachment\ncircuit (note that for subinterfaces, the Layer\n2 property is specified when the subinterface\nis created).The object must be set before any\nother L2Transport configuration is supplied for\nthe interface, and must be the last\nper-interface configuration object to be\nremoved.
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} },
"generic-interface-list": "string", Name of the interface list
"l2-overhead": "integer" PW Ether L2 overhead requirement
},
"args": "string", Dampening Arguments
"suppress-threshold": "integer", Suppress threshold
range: "1..20000"
"half-life": "integer", Decay half life (in minutes)
range: "1..45"
units: "minute"
"suppress-time": "integer", Max suppress time (in minutes)
range: "1..255"
units: "minute"
"reuse-threshold": "integer", Reuse threshold
range: "1..20000"
"restart-penalty": "integer" Restart penalty
range: "0..20000"
},
"interface-name": "string", The name of the interface
"secondary-admin-state": "string", The secondary admin state of the interface
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
},
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of tag for inner match (if present)
"outer-tag-type": "string" Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
},
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} },
"l2-overhead": "integer", PW Ether L2 overhead requirement
"generic-interface-list": "string" Name of the interface list
},
"link-status": "null", Enable interface and line-protocol state change\nalarms
{
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] },
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INTERFACE-CONFIGURATIONS - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/

Create operation of resource: interface-configurations

interface-configurationsbody object

Request Content-Types: application/json
Request Example
{      {
        
"interface-mode-non-physical": "string", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software subinterface.
"description": "string", The description of this interface
"interface-virtual": "null", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software virtual/subinterface.
"ingress": "null", Per MAC address accounting statistics
"egress": "null" Per MAC address accounting statistics
},
"bandwidth": "integer", The bandwidth of the interface in kbps
range: "0..4294967295"
units: "kbit/s"
"filtering": "string", Ingress Ethernet frame filtering
{
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } },
"shutdown": "null", The existence of this configuration indicates\nthe interface is shut down
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"vlan-identifier": "string" The VLAN tag stack associated with this\nsub-interface.
},
"tunneling-ethertype": "string" The outer ethertype used in Q-in-Q frames. The\ndefault value is 0x8100
},
"active": "string", Whether the interface is active or\npreconfigured
"encapsulation": "string", The encapsulation of this Ethernet service
"capsulation-options": "integer" The options for this capsulation, usually '0'
},
"host-routing": "null" Enable host-routing on this BVI
},
"carrier-delay-up": "integer", Carrier Delay (up) in msecs
range: "1..65535"
"carrier-delay-down": "integer" Carrier Delay down in msecs, must be set to 0
},
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} },
"propagate-remote-status": "null", Enable propagation of the remote\nattachment-circuit link state to the\nlocalattachment-circuit link state
{
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] },
"enabled": "null", This object is only valid on physical\ninterfaces and it controls whether that\ninterface is a port mode Layer 2 attachment\ncircuit (note that for subinterfaces, the Layer\n2 property is specified when the subinterface\nis created).The object must be set before any\nother L2Transport configuration is supplied for\nthe interface, and must be the last\nper-interface configuration object to be\nremoved.
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} },
"generic-interface-list": "string", Name of the interface list
"l2-overhead": "integer" PW Ether L2 overhead requirement
},
"args": "string", Dampening Arguments
"suppress-threshold": "integer", Suppress threshold
range: "1..20000"
"half-life": "integer", Decay half life (in minutes)
range: "1..45"
units: "minute"
"suppress-time": "integer", Max suppress time (in minutes)
range: "1..255"
units: "minute"
"reuse-threshold": "integer", Reuse threshold
range: "1..20000"
"restart-penalty": "integer" Restart penalty
range: "0..20000"
},
"interface-name": "string", The name of the interface
"secondary-admin-state": "string", The secondary admin state of the interface
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
},
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of tag for inner match (if present)
"outer-tag-type": "string" Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
},
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} },
"l2-overhead": "integer", PW Ether L2 overhead requirement
"generic-interface-list": "string" Name of the interface list
},
"link-status": "null", Enable interface and line-protocol state change\nalarms
{
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] },
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INTERFACE-CONFIGURATIONS - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/

Delete operation of resource: interface-configurations

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INTERFACE-CONFIGURATIONS - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/

Retrieve operation of resource: interface-configurations

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"interface-mode-non-physical": "string", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software subinterface.
"description": "string", The description of this interface
"interface-virtual": "null", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software virtual/subinterface.
"ingress": "null", Per MAC address accounting statistics
"egress": "null" Per MAC address accounting statistics
},
"bandwidth": "integer", The bandwidth of the interface in kbps
range: "0..4294967295"
units: "kbit/s"
"filtering": "string", Ingress Ethernet frame filtering
{
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } },
"shutdown": "null", The existence of this configuration indicates\nthe interface is shut down
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"vlan-identifier": "string" The VLAN tag stack associated with this\nsub-interface.
},
"tunneling-ethertype": "string" The outer ethertype used in Q-in-Q frames. The\ndefault value is 0x8100
},
"active": "string", Whether the interface is active or\npreconfigured
"encapsulation": "string", The encapsulation of this Ethernet service
"capsulation-options": "integer" The options for this capsulation, usually '0'
},
"host-routing": "null" Enable host-routing on this BVI
},
"carrier-delay-up": "integer", Carrier Delay (up) in msecs
range: "1..65535"
"carrier-delay-down": "integer" Carrier Delay down in msecs, must be set to 0
},
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} },
"propagate-remote-status": "null", Enable propagation of the remote\nattachment-circuit link state to the\nlocalattachment-circuit link state
{
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] },
"enabled": "null", This object is only valid on physical\ninterfaces and it controls whether that\ninterface is a port mode Layer 2 attachment\ncircuit (note that for subinterfaces, the Layer\n2 property is specified when the subinterface\nis created).The object must be set before any\nother L2Transport configuration is supplied for\nthe interface, and must be the last\nper-interface configuration object to be\nremoved.
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} },
"generic-interface-list": "string", Name of the interface list
"l2-overhead": "integer" PW Ether L2 overhead requirement
},
"args": "string", Dampening Arguments
"suppress-threshold": "integer", Suppress threshold
range: "1..20000"
"half-life": "integer", Decay half life (in minutes)
range: "1..45"
units: "minute"
"suppress-time": "integer", Max suppress time (in minutes)
range: "1..255"
units: "minute"
"reuse-threshold": "integer", Reuse threshold
range: "1..20000"
"restart-penalty": "integer" Restart penalty
range: "0..20000"
},
"interface-name": "string", The name of the interface
"secondary-admin-state": "string", The secondary admin state of the interface
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
},
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of tag for inner match (if present)
"outer-tag-type": "string" Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
},
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} },
"l2-overhead": "integer", PW Ether L2 overhead requirement
"generic-interface-list": "string" Name of the interface list
},
"link-status": "null", Enable interface and line-protocol state change\nalarms
{
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] },
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } } ] } }

INTERFACE-CONFIGURATION - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/

Update operation of resource: interface-configuration

interface-configurationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    {
      
"interface-mode-non-physical": "string", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software subinterface.
"description": "string", The description of this interface
"interface-virtual": "null", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software virtual/subinterface.
"ingress": "null", Per MAC address accounting statistics
"egress": "null" Per MAC address accounting statistics
},
"bandwidth": "integer", The bandwidth of the interface in kbps
range: "0..4294967295"
units: "kbit/s"
"filtering": "string", Ingress Ethernet frame filtering
{
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } },
"shutdown": "null", The existence of this configuration indicates\nthe interface is shut down
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"vlan-identifier": "string" The VLAN tag stack associated with this\nsub-interface.
},
"tunneling-ethertype": "string" The outer ethertype used in Q-in-Q frames. The\ndefault value is 0x8100
},
"active": "string", Whether the interface is active or\npreconfigured
"encapsulation": "string", The encapsulation of this Ethernet service
"capsulation-options": "integer" The options for this capsulation, usually '0'
},
"host-routing": "null" Enable host-routing on this BVI
},
"carrier-delay-up": "integer", Carrier Delay (up) in msecs
range: "1..65535"
"carrier-delay-down": "integer" Carrier Delay down in msecs, must be set to 0
},
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} },
"propagate-remote-status": "null", Enable propagation of the remote\nattachment-circuit link state to the\nlocalattachment-circuit link state
{
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] },
"enabled": "null", This object is only valid on physical\ninterfaces and it controls whether that\ninterface is a port mode Layer 2 attachment\ncircuit (note that for subinterfaces, the Layer\n2 property is specified when the subinterface\nis created).The object must be set before any\nother L2Transport configuration is supplied for\nthe interface, and must be the last\nper-interface configuration object to be\nremoved.
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} },
"generic-interface-list": "string", Name of the interface list
"l2-overhead": "integer" PW Ether L2 overhead requirement
},
"args": "string", Dampening Arguments
"suppress-threshold": "integer", Suppress threshold
range: "1..20000"
"half-life": "integer", Decay half life (in minutes)
range: "1..45"
units: "minute"
"suppress-time": "integer", Max suppress time (in minutes)
range: "1..255"
units: "minute"
"reuse-threshold": "integer", Reuse threshold
range: "1..20000"
"restart-penalty": "integer" Restart penalty
range: "0..20000"
},
"interface-name": "string", The name of the interface
"secondary-admin-state": "string", The secondary admin state of the interface
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
},
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of tag for inner match (if present)
"outer-tag-type": "string" Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
},
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} },
"l2-overhead": "integer", PW Ether L2 overhead requirement
"generic-interface-list": "string" Name of the interface list
},
"link-status": "null", Enable interface and line-protocol state change\nalarms
{
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] },
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INTERFACE-CONFIGURATION - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/

Create operation of resource: interface-configuration

interface-configurationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    {
      
"interface-mode-non-physical": "string", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software subinterface.
"description": "string", The description of this interface
"interface-virtual": "null", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software virtual/subinterface.
"ingress": "null", Per MAC address accounting statistics
"egress": "null" Per MAC address accounting statistics
},
"bandwidth": "integer", The bandwidth of the interface in kbps
range: "0..4294967295"
units: "kbit/s"
"filtering": "string", Ingress Ethernet frame filtering
{
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } },
"shutdown": "null", The existence of this configuration indicates\nthe interface is shut down
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"vlan-identifier": "string" The VLAN tag stack associated with this\nsub-interface.
},
"tunneling-ethertype": "string" The outer ethertype used in Q-in-Q frames. The\ndefault value is 0x8100
},
"active": "string", Whether the interface is active or\npreconfigured
"encapsulation": "string", The encapsulation of this Ethernet service
"capsulation-options": "integer" The options for this capsulation, usually '0'
},
"host-routing": "null" Enable host-routing on this BVI
},
"carrier-delay-up": "integer", Carrier Delay (up) in msecs
range: "1..65535"
"carrier-delay-down": "integer" Carrier Delay down in msecs, must be set to 0
},
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} },
"propagate-remote-status": "null", Enable propagation of the remote\nattachment-circuit link state to the\nlocalattachment-circuit link state
{
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] },
"enabled": "null", This object is only valid on physical\ninterfaces and it controls whether that\ninterface is a port mode Layer 2 attachment\ncircuit (note that for subinterfaces, the Layer\n2 property is specified when the subinterface\nis created).The object must be set before any\nother L2Transport configuration is supplied for\nthe interface, and must be the last\nper-interface configuration object to be\nremoved.
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} },
"generic-interface-list": "string", Name of the interface list
"l2-overhead": "integer" PW Ether L2 overhead requirement
},
"args": "string", Dampening Arguments
"suppress-threshold": "integer", Suppress threshold
range: "1..20000"
"half-life": "integer", Decay half life (in minutes)
range: "1..45"
units: "minute"
"suppress-time": "integer", Max suppress time (in minutes)
range: "1..255"
units: "minute"
"reuse-threshold": "integer", Reuse threshold
range: "1..20000"
"restart-penalty": "integer" Restart penalty
range: "0..20000"
},
"interface-name": "string", The name of the interface
"secondary-admin-state": "string", The secondary admin state of the interface
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
},
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of tag for inner match (if present)
"outer-tag-type": "string" Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
},
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} },
"l2-overhead": "integer", PW Ether L2 overhead requirement
"generic-interface-list": "string" Name of the interface list
},
"link-status": "null", Enable interface and line-protocol state change\nalarms
{
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] },
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INTERFACE-CONFIGURATION - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/

Delete operation of resource: interface-configuration

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INTERFACE-CONFIGURATION - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/

Retrieve operation of resource: interface-configuration

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"interface-mode-non-physical": "string", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software subinterface.
"description": "string", The description of this interface
"interface-virtual": "null", The mode in which an interface is running. The\nexistence of this object causes the creation of\nthe software virtual/subinterface.
"ingress": "null", Per MAC address accounting statistics
"egress": "null" Per MAC address accounting statistics
},
"bandwidth": "integer", The bandwidth of the interface in kbps
range: "0..4294967295"
units: "kbit/s"
"filtering": "string", Ingress Ethernet frame filtering
{
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } },
"shutdown": "null", The existence of this configuration indicates\nthe interface is shut down
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"vlan-identifier": "string" The VLAN tag stack associated with this\nsub-interface.
},
"tunneling-ethertype": "string" The outer ethertype used in Q-in-Q frames. The\ndefault value is 0x8100
},
"active": "string", Whether the interface is active or\npreconfigured
"encapsulation": "string", The encapsulation of this Ethernet service
"capsulation-options": "integer" The options for this capsulation, usually '0'
},
"host-routing": "null" Enable host-routing on this BVI
},
"carrier-delay-up": "integer", Carrier Delay (up) in msecs
range: "1..65535"
"carrier-delay-down": "integer" Carrier Delay down in msecs, must be set to 0
},
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} },
"propagate-remote-status": "null", Enable propagation of the remote\nattachment-circuit link state to the\nlocalattachment-circuit link state
{
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] },
"enabled": "null", This object is only valid on physical\ninterfaces and it controls whether that\ninterface is a port mode Layer 2 attachment\ncircuit (note that for subinterfaces, the Layer\n2 property is specified when the subinterface\nis created).The object must be set before any\nother L2Transport configuration is supplied for\nthe interface, and must be the last\nper-interface configuration object to be\nremoved.
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} },
"generic-interface-list": "string", Name of the interface list
"l2-overhead": "integer" PW Ether L2 overhead requirement
},
"args": "string", Dampening Arguments
"suppress-threshold": "integer", Suppress threshold
range: "1..20000"
"half-life": "integer", Decay half life (in minutes)
range: "1..45"
units: "minute"
"suppress-time": "integer", Max suppress time (in minutes)
range: "1..255"
units: "minute"
"reuse-threshold": "integer", Reuse threshold
range: "1..20000"
"restart-penalty": "integer" Restart penalty
range: "0..20000"
},
"interface-name": "string", The name of the interface
"secondary-admin-state": "string", The secondary admin state of the interface
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
},
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of tag for inner match (if present)
"outer-tag-type": "string" Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
},
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} },
"l2-overhead": "integer", PW Ether L2 overhead requirement
"generic-interface-list": "string" Name of the interface list
},
"link-status": "null", Enable interface and line-protocol state change\nalarms
{
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] },
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } } ] }

DAMPENING - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/dampening/

Update operation of resource: dampening

dampeningbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"args": "string", Dampening Arguments
"suppress-threshold": "integer", Suppress threshold
range: "1..20000"
"half-life": "integer", Decay half life (in minutes)
range: "1..45"
units: "minute"
"suppress-time": "integer", Max suppress time (in minutes)
range: "1..255"
units: "minute"
"reuse-threshold": "integer", Reuse threshold
range: "1..20000"
"restart-penalty": "integer" Restart penalty
range: "0..20000"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DAMPENING - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/dampening/

Create operation of resource: dampening

dampeningbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"args": "string", Dampening Arguments
"suppress-threshold": "integer", Suppress threshold
range: "1..20000"
"half-life": "integer", Decay half life (in minutes)
range: "1..45"
units: "minute"
"suppress-time": "integer", Max suppress time (in minutes)
range: "1..255"
units: "minute"
"reuse-threshold": "integer", Reuse threshold
range: "1..20000"
"restart-penalty": "integer" Restart penalty
range: "0..20000"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DAMPENING - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/dampening/

Delete operation of resource: dampening

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DAMPENING - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/dampening/

Retrieve operation of resource: dampening

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"args": "string", Dampening Arguments
"suppress-threshold": "integer", Suppress threshold
range: "1..20000"
"half-life": "integer", Decay half life (in minutes)
range: "1..45"
units: "minute"
"suppress-time": "integer", Max suppress time (in minutes)
range: "1..255"
units: "minute"
"reuse-threshold": "integer", Reuse threshold
range: "1..20000"
"restart-penalty": "integer" Restart penalty
range: "0..20000"
} }

MTUS - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mtus/

Update operation of resource: mtus

mtusbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      {
        
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MTUS - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mtus/

Create operation of resource: mtus

mtusbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      {
        
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MTUS - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mtus/

Delete operation of resource: mtus

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MTUS - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mtus/

Retrieve operation of resource: mtus

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] } }

MTU - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mtus/mtu/{owner}/

Update operation of resource: mtu

mtubody object

active interface-name: string
in path

ID of active interface-name

owner: string
in path

ID of owner

Request Content-Types: application/json
Request Example
{    {
      
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MTU - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mtus/mtu/{owner}/

Create operation of resource: mtu

mtubody object

active interface-name: string
in path

ID of active interface-name

owner: string
in path

ID of owner

Request Content-Types: application/json
Request Example
{    {
      
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MTU - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mtus/mtu/{owner}/

Delete operation of resource: mtu

active interface-name: string
in path

ID of active interface-name

owner: string
in path

ID of owner

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MTU - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mtus/mtu/{owner}/

Retrieve operation of resource: mtu

active interface-name: string
in path

ID of active interface-name

owner: string
in path

ID of owner

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"owner": "string", The Owner of the interface - eg. for\n'LoopbackX' main interface this is 'loopback'
"mtu": "integer" The MTU value
range: "64..65535"
} ] }

ENCAPSULATION - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/encapsulation/

Update operation of resource: encapsulation

encapsulationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCAPSULATION - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/encapsulation/

Create operation of resource: encapsulation

encapsulationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCAPSULATION - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/encapsulation/

Delete operation of resource: encapsulation

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCAPSULATION - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/encapsulation/

Retrieve operation of resource: encapsulation

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} }

PSEUDOWIRE-ETHER - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/pseudowire-ether/

Update operation of resource: pseudowire-ether

pseudowire-etherbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"l2-overhead": "integer", PW Ether L2 overhead requirement
"generic-interface-list": "string" Name of the interface list
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PSEUDOWIRE-ETHER - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/pseudowire-ether/

Create operation of resource: pseudowire-ether

pseudowire-etherbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"l2-overhead": "integer", PW Ether L2 overhead requirement
"generic-interface-list": "string" Name of the interface list
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PSEUDOWIRE-ETHER - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/pseudowire-ether/

Delete operation of resource: pseudowire-ether

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PSEUDOWIRE-ETHER - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/pseudowire-ether/

Retrieve operation of resource: pseudowire-ether

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"l2-overhead": "integer", PW Ether L2 overhead requirement
"generic-interface-list": "string" Name of the interface list
} }

PSEUDOWIRE-IW - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/pseudowire-iw/

Update operation of resource: pseudowire-iw

pseudowire-iwbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"generic-interface-list": "string", Name of the interface list
"l2-overhead": "integer" L2 overhead size in bytes
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PSEUDOWIRE-IW - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/pseudowire-iw/

Create operation of resource: pseudowire-iw

pseudowire-iwbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"generic-interface-list": "string", Name of the interface list
"l2-overhead": "integer" L2 overhead size in bytes
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PSEUDOWIRE-IW - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/pseudowire-iw/

Delete operation of resource: pseudowire-iw

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PSEUDOWIRE-IW - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/pseudowire-iw/

Retrieve operation of resource: pseudowire-iw

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"generic-interface-list": "string", Name of the interface list
"l2-overhead": "integer" L2 overhead size in bytes
} }

BVI - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/bvi/

Update operation of resource: bvi

bvibody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"host-routing": "null" Enable host-routing on this BVI
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BVI - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/bvi/

Create operation of resource: bvi

bvibody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"host-routing": "null" Enable host-routing on this BVI
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BVI - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/bvi/

Delete operation of resource: bvi

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BVI - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/bvi/

Retrieve operation of resource: bvi

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"host-routing": "null" Enable host-routing on this BVI
} }

L2-TRANSPORT - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/

Update operation of resource: l2-transport

l2-transportbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"propagate-remote-status": "null", Enable propagation of the remote\nattachment-circuit link state to the\nlocalattachment-circuit link state
{
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] },
"enabled": "null", This object is only valid on physical\ninterfaces and it controls whether that\ninterface is a port mode Layer 2 attachment\ncircuit (note that for subinterfaces, the Layer\n2 property is specified when the subinterface\nis created).The object must be set before any\nother L2Transport configuration is supplied for\nthe interface, and must be the last\nper-interface configuration object to be\nremoved.
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-TRANSPORT - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/

Create operation of resource: l2-transport

l2-transportbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"propagate-remote-status": "null", Enable propagation of the remote\nattachment-circuit link state to the\nlocalattachment-circuit link state
{
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] },
"enabled": "null", This object is only valid on physical\ninterfaces and it controls whether that\ninterface is a port mode Layer 2 attachment\ncircuit (note that for subinterfaces, the Layer\n2 property is specified when the subinterface\nis created).The object must be set before any\nother L2Transport configuration is supplied for\nthe interface, and must be the last\nper-interface configuration object to be\nremoved.
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-TRANSPORT - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/

Delete operation of resource: l2-transport

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-TRANSPORT - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/

Retrieve operation of resource: l2-transport

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"propagate-remote-status": "null", Enable propagation of the remote\nattachment-circuit link state to the\nlocalattachment-circuit link state
{
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] },
"enabled": "null", This object is only valid on physical\ninterfaces and it controls whether that\ninterface is a port mode Layer 2 attachment\ncircuit (note that for subinterfaces, the Layer\n2 property is specified when the subinterface\nis created).The object must be set before any\nother L2Transport configuration is supplied for\nthe interface, and must be the last\nper-interface configuration object to be\nremoved.
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} } }

L2-PROTOCOLS - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-protocols/

Update operation of resource: l2-protocols

l2-protocolsbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      {
        
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-PROTOCOLS - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-protocols/

Create operation of resource: l2-protocols

l2-protocolsbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      {
        
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-PROTOCOLS - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-protocols/

Delete operation of resource: l2-protocols

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-PROTOCOLS - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-protocols/

Retrieve operation of resource: l2-protocols

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] } }

L2-PROTOCOL - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-protocols/l2-protocol/{l2-protocol-name}/

Update operation of resource: l2-protocol

l2-protocolbody object

active interface-name: string
in path

ID of active interface-name

l2-protocol-name: string
in path

ID of l2-protocol-name

Request Content-Types: application/json
Request Example
{    {
      
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-PROTOCOL - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-protocols/l2-protocol/{l2-protocol-name}/

Create operation of resource: l2-protocol

l2-protocolbody object

active interface-name: string
in path

ID of active interface-name

l2-protocol-name: string
in path

ID of l2-protocol-name

Request Content-Types: application/json
Request Example
{    {
      
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-PROTOCOL - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-protocols/l2-protocol/{l2-protocol-name}/

Delete operation of resource: l2-protocol

active interface-name: string
in path

ID of active interface-name

l2-protocol-name: string
in path

ID of l2-protocol-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-PROTOCOL - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-protocols/l2-protocol/{l2-protocol-name}/

Retrieve operation of resource: l2-protocol

active interface-name: string
in path

ID of active interface-name

l2-protocol-name: string
in path

ID of l2-protocol-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"mpls-exp-bits-value": "string", The value to set the MPLS Exp bits to within\nthe PW.This value may be specified if the mode\nis forward or tunnel and must not be specified\nif the mode is drop
"l2-protocol-name": "string", Protocol name
"mode": "string" How to handle the protocol's packets
} ] }

L2-ETHERNET-FEATURES - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-ethernet-features/

Update operation of resource: l2-ethernet-features

l2-ethernet-featuresbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-ETHERNET-FEATURES - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-ethernet-features/

Create operation of resource: l2-ethernet-features

l2-ethernet-featuresbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-ETHERNET-FEATURES - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-ethernet-features/

Delete operation of resource: l2-ethernet-features

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2-ETHERNET-FEATURES - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/l2-transport/l2-ethernet-features/

Retrieve operation of resource: l2-ethernet-features

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"egress-filtering": "string", Egress Ethernet filtering
"source-bypass-egress-filtering": "null" Mark all ingress packets to bypass any egress\nVLAN filter
} }

VLAN-SUB-CONFIGURATION - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-sub-configuration/

Update operation of resource: vlan-sub-configuration

vlan-sub-configurationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VLAN-SUB-CONFIGURATION - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-sub-configuration/

Create operation of resource: vlan-sub-configuration

vlan-sub-configurationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VLAN-SUB-CONFIGURATION - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-sub-configuration/

Delete operation of resource: vlan-sub-configuration

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VLAN-SUB-CONFIGURATION - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-sub-configuration/

Retrieve operation of resource: vlan-sub-configuration

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} } }

VLAN-IDENTIFIER - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-sub-configuration/vlan-identifier/

Update operation of resource: vlan-identifier

vlan-identifierbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VLAN-IDENTIFIER - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-sub-configuration/vlan-identifier/

Create operation of resource: vlan-identifier

vlan-identifierbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VLAN-IDENTIFIER - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-sub-configuration/vlan-identifier/

Delete operation of resource: vlan-identifier

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VLAN-IDENTIFIER - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-sub-configuration/vlan-identifier/

Retrieve operation of resource: vlan-identifier

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"vlan-type": "string", Whether this sub-interface is dot1ad or dot1Q
"first-tag": "string", First (outermost) VLAN tag value
"second-tag": "string" Second VLAN tag value. The any value may only\nbe used for Layer 2 subinterfaces
} }

ETHERNET-SERVICE - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/

Update operation of resource: ethernet-service

ethernet-servicebody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
},
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of tag for inner match (if present)
"outer-tag-type": "string" Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
},
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-SERVICE - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/

Create operation of resource: ethernet-service

ethernet-servicebody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
},
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of tag for inner match (if present)
"outer-tag-type": "string" Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
},
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-SERVICE - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/

Delete operation of resource: ethernet-service

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-SERVICE - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/

Retrieve operation of resource: ethernet-service

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
},
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of tag for inner match (if present)
"outer-tag-type": "string" Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
},
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } }

LOCAL-TRAFFIC-DEFAULT-ENCAPSULATION - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/local-traffic-default-encapsulation/

Update operation of resource: local-traffic-default-encapsulation

local-traffic-default-encapsulationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"outer-tag-type": "string", Type of outer tag
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

LOCAL-TRAFFIC-DEFAULT-ENCAPSULATION - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/local-traffic-default-encapsulation/

Create operation of resource: local-traffic-default-encapsulation

local-traffic-default-encapsulationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"outer-tag-type": "string", Type of outer tag
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

LOCAL-TRAFFIC-DEFAULT-ENCAPSULATION - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/local-traffic-default-encapsulation/

Delete operation of resource: local-traffic-default-encapsulation

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

LOCAL-TRAFFIC-DEFAULT-ENCAPSULATION - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/local-traffic-default-encapsulation/

Retrieve operation of resource: local-traffic-default-encapsulation

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"outer-tag-type": "string", Type of outer tag
"outer-vlan-id": "string", VLAN id for outer tag
"inner-vlan-id": "string" Optional VLAN Id for inner Dot1Q tag
} }

ENCAPSULATION - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/encapsulation/

Update operation of resource: encapsulation

encapsulationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCAPSULATION - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/encapsulation/

Create operation of resource: encapsulation

encapsulationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCAPSULATION - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/encapsulation/

Delete operation of resource: encapsulation

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCAPSULATION - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/encapsulation/

Retrieve operation of resource: encapsulation

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} }

REWRITE - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/rewrite/

Update operation of resource: rewrite

rewritebody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of innermost tag to be pushed
"outer-tag-type": "string" Type of outermost tag to be pushed
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REWRITE - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/rewrite/

Create operation of resource: rewrite

rewritebody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of innermost tag to be pushed
"outer-tag-type": "string" Type of outermost tag to be pushed
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REWRITE - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/rewrite/

Delete operation of resource: rewrite

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REWRITE - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-service/rewrite/

Retrieve operation of resource: rewrite

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"inner-tag-value": "string", VLAN Id of innermost tag to be pushed
"rewrite-type": "string", The type of rewrite to perform
"outer-tag-value": "string", VLAN Id of outermost tag to be pushed
"inner-tag-type": "string", Type of innermost tag to be pushed
"outer-tag-type": "string" Type of outermost tag to be pushed
} }

ETHERNET-BNG - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-bng/

Update operation of resource: ethernet-bng

ethernet-bngbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-BNG - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-bng/

Create operation of resource: ethernet-bng

ethernet-bngbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-BNG - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-bng/

Delete operation of resource: ethernet-bng

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-BNG - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-bng/

Retrieve operation of resource: ethernet-bng

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} } }

AMBIGUOUS-ENCAPSULATION - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-bng/ambiguous-encapsulation/

Update operation of resource: ambiguous-encapsulation

ambiguous-encapsulationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AMBIGUOUS-ENCAPSULATION - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-bng/ambiguous-encapsulation/

Create operation of resource: ambiguous-encapsulation

ambiguous-encapsulationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AMBIGUOUS-ENCAPSULATION - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-bng/ambiguous-encapsulation/

Delete operation of resource: ambiguous-encapsulation

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AMBIGUOUS-ENCAPSULATION - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-bng/ambiguous-encapsulation/

Retrieve operation of resource: ambiguous-encapsulation

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"ingress-destination-mac": "string", Destination MAC address to match on egress
"additional-range4-high": "string", High value of forth additional range for tag\nmatch
"additional-range1-low": "string", Low value of first additional range for tag\nmatch
"inner-range1-high": "string", High value of first range for inner tag match
"additional-range8-high": "string", High value of eighth additional range for tag\nmatch
"additional-range6-low": "string", Low value of sixth additional range for tag\nmatch
"outer-range1-low": "string", Low value of first range for outer tag match
"inner-tag-type": "string", Type of tag for inner match (if present)
"additional-range3-low": "string", Low value of third additional range for tag\nmatch
"inner-class-of-service": "string", Value to match against Class Of Service bits\nfor inner tag
"additional-range8-low": "string", Low value of eighth additional range for tag\nmatch
"payload-ethertype-match": "string", Which payload ethertype values to match
"additional-range2-low": "string", Low value of second additional range for tag\nmatch
"inner-range1-low": "string", Low value of first range for inner tag match
"additional-range7-high": "string", High value of seventh additional range for tag\nmatch
"outer-class-of-service": "string", Value to match against Class Of Service bits\nfor outer tag
"additional-range3-high": "string", High value of third additional range for tag\nmatch
"ingress-source-mac": "string", Source MAC address to match on ingress
"outer-range1-high": "string", High value of first range for outer tag match
"additional-range7-low": "string", Low value of seventh additional range for tag\nmatch
"additional-range5-high": "string", High value of fifth additional range for tag\nmatch
"additional-range6-high": "string", High value of sixth additional range for tag\nmatch
"outer-tag-type": "string", Whether to match all unmatched packets,\nuntagged packets or tagged packets, and if\nmatching tagged packets, the outer tag type to\nmatch
"additional-range5-low": "string", Low value of fifth additional range for tag\nmatch
"additional-range2-high": "string", High value of second additional range for tag\nmatch
"exact": "null", Only match packets with no more tags than\nexplicitly matched
"additional-range4-low": "string", Low value of forth additional range for tag\nmatch
"additional-range1-high": "string" High value of first additional range for tag\nmatch
} }

MAC-ACCOUNTING - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mac-accounting/

Update operation of resource: mac-accounting

mac-accountingbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"ingress": "null", Per MAC address accounting statistics
"egress": "null" Per MAC address accounting statistics
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MAC-ACCOUNTING - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mac-accounting/

Create operation of resource: mac-accounting

mac-accountingbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"ingress": "null", Per MAC address accounting statistics
"egress": "null" Per MAC address accounting statistics
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MAC-ACCOUNTING - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mac-accounting/

Delete operation of resource: mac-accounting

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MAC-ACCOUNTING - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/mac-accounting/

Retrieve operation of resource: mac-accounting

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"ingress": "null", Per MAC address accounting statistics
"egress": "null" Per MAC address accounting statistics
} }

ETHERNET-FEATURES - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/

Update operation of resource: ethernet-features

ethernet-featuresbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"filtering": "string", Ingress Ethernet frame filtering
{
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-FEATURES - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/

Create operation of resource: ethernet-features

ethernet-featuresbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"filtering": "string", Ingress Ethernet frame filtering
{
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-FEATURES - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/

Delete operation of resource: ethernet-features

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-FEATURES - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/

Retrieve operation of resource: ethernet-features

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"filtering": "string", Ingress Ethernet frame filtering
{
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } } }

CFM - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/

Update operation of resource: cfm

cfmbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{        {
          
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CFM - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/

Create operation of resource: cfm

cfmbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{        {
          
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CFM - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/

Delete operation of resource: cfm

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CFM - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/

Retrieve operation of resource: cfm

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {
          
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" Class of Service bits
} } ] },
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } } }

DOMAINS - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/

Update operation of resource: domains

domainsbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      {
        
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" The Class of Service bits for this MEP
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAINS - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/

Create operation of resource: domains

domainsbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      {
        
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" The Class of Service bits for this MEP
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAINS - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/

Delete operation of resource: domains

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAINS - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/

Retrieve operation of resource: domains

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" The Class of Service bits for this MEP
} } ] } }

DOMAIN - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/

Update operation of resource: domain

domainbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    {
      
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" The Class of Service bits for this MEP
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/

Create operation of resource: domain

domainbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    {
      
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" The Class of Service bits for this MEP
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/

Delete operation of resource: domain

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/

Retrieve operation of resource: domain

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"domain": "string", Maintenance Domain
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" The Class of Service bits for this MEP
} } ] }

MEP - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/

Update operation of resource: mep

mepbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{      
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" The Class of Service bits for this MEP
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MEP - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/

Create operation of resource: mep

mepbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{      
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" The Class of Service bits for this MEP
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MEP - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/

Delete operation of resource: mep

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MEP - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/

Retrieve operation of resource: mep

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
}, {
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] },
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
},
"cos": "string" The Class of Service bits for this MEP
} }

SLA-PROFILE-TARGET-MEP-IDS - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/

Update operation of resource: sla-profile-target-mep-ids

sla-profile-target-mep-idsbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{      {
        
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA-PROFILE-TARGET-MEP-IDS - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/

Create operation of resource: sla-profile-target-mep-ids

sla-profile-target-mep-idsbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{      {
        
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA-PROFILE-TARGET-MEP-IDS - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/

Delete operation of resource: sla-profile-target-mep-ids

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA-PROFILE-TARGET-MEP-IDS - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/

Retrieve operation of resource: sla-profile-target-mep-ids

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] } }

SLA-PROFILE-TARGET-MEP-ID - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/sla-profile-target-mep-id/{profile target-mep-id}/

Update operation of resource: sla-profile-target-mep-id

sla-profile-target-mep-idbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

profile target-mep-id: string
in path

ID of profile target-mep-id

Request Content-Types: application/json
Request Example
{    {
      
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA-PROFILE-TARGET-MEP-ID - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/sla-profile-target-mep-id/{profile target-mep-id}/

Create operation of resource: sla-profile-target-mep-id

sla-profile-target-mep-idbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

profile target-mep-id: string
in path

ID of profile target-mep-id

Request Content-Types: application/json
Request Example
{    {
      
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA-PROFILE-TARGET-MEP-ID - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/sla-profile-target-mep-id/{profile target-mep-id}/

Delete operation of resource: sla-profile-target-mep-id

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

profile target-mep-id: string
in path

ID of profile target-mep-id

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA-PROFILE-TARGET-MEP-ID - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/sla-profile-target-mep-id/{profile target-mep-id}/

Retrieve operation of resource: sla-profile-target-mep-id

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

profile target-mep-id: string
in path

ID of profile target-mep-id

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"profile": "string", SLA profile name
"target-mep-id": "string" Target MEP-ID
} ], {
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} ] }

SLA-PROFILE-TARGET-MAC-ADDRESS - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/sla-profile-target-mac-address/{profile target-mac-address}/

Update operation of resource: sla-profile-target-mac-address

sla-profile-target-mac-addressbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

profile target-mac-address: string
in path

ID of profile target-mac-address

Request Content-Types: application/json
Request Example
{    
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA-PROFILE-TARGET-MAC-ADDRESS - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/sla-profile-target-mac-address/{profile target-mac-address}/

Create operation of resource: sla-profile-target-mac-address

sla-profile-target-mac-addressbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

profile target-mac-address: string
in path

ID of profile target-mac-address

Request Content-Types: application/json
Request Example
{    
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA-PROFILE-TARGET-MAC-ADDRESS - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/sla-profile-target-mac-address/{profile target-mac-address}/

Delete operation of resource: sla-profile-target-mac-address

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

profile target-mac-address: string
in path

ID of profile target-mac-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA-PROFILE-TARGET-MAC-ADDRESS - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/sla-profile-target-mep-ids/sla-profile-target-mac-address/{profile target-mac-address}/

Retrieve operation of resource: sla-profile-target-mac-address

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

profile target-mac-address: string
in path

ID of profile target-mac-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"profile": "string", SLA profile name
"target-mac-address": "string" Target MAC address
} }

MEP-PROPERTIES - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/mep-properties/

Update operation of resource: mep-properties

mep-propertiesbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MEP-PROPERTIES - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/mep-properties/

Create operation of resource: mep-properties

mep-propertiesbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MEP-PROPERTIES - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/mep-properties/

Delete operation of resource: mep-properties

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MEP-PROPERTIES - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/mep-properties/

Retrieve operation of resource: mep-properties

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"mep-id": "string", MEP ID
"service": "string" Service (Maintenance Association)
} }

LOSS-MEASUREMENT-COUNTERS - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/loss-measurement-counters/

Update operation of resource: loss-measurement-counters

loss-measurement-countersbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

LOSS-MEASUREMENT-COUNTERS - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/loss-measurement-counters/

Create operation of resource: loss-measurement-counters

loss-measurement-countersbody object

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

LOSS-MEASUREMENT-COUNTERS - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/loss-measurement-counters/

Delete operation of resource: loss-measurement-counters

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

LOSS-MEASUREMENT-COUNTERS - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/domains/domain/{domain}/mep/loss-measurement-counters/

Retrieve operation of resource: loss-measurement-counters

active interface-name: string
in path

ID of active interface-name

domain: string
in path

ID of domain

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"cfg-type": "string", Aggregate, List, or Range
"cos7": "string", CoS bits for per-CoS counters - list item
"cos6": "string", CoS bits for per-CoS counters - list item
"cos5": "string", CoS bits for per-CoS counters - list item
"cos4": "string", CoS bits for per-CoS counters - list item
"cos3": "string", CoS bits for per-CoS counters - list item
"cos2": "string", CoS bits for per-CoS counters - list item
"cos1": "string", CoS bits for per-CoS counters - end of\nrange or list item
"cos0": "string" CoS bits for per-CoS counters - start of\nrange or list item
} }

AIS-UP - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/ais-up/

Update operation of resource: ais-up

ais-upbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AIS-UP - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/ais-up/

Create operation of resource: ais-up

ais-upbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AIS-UP - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/ais-up/

Delete operation of resource: ais-up

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AIS-UP - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/ais-up/

Retrieve operation of resource: ais-up

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } }

TRANSMISSION - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/ais-up/transmission/

Update operation of resource: transmission

transmissionbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSMISSION - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/ais-up/transmission/

Create operation of resource: transmission

transmissionbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSMISSION - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/ais-up/transmission/

Delete operation of resource: transmission

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSMISSION - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/ethernet-features/cfm/ais-up/transmission/

Retrieve operation of resource: transmission

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} }

CARRIER-DELAY - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/carrier-delay/

Update operation of resource: carrier-delay

carrier-delaybody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"carrier-delay-up": "integer", Carrier Delay (up) in msecs
range: "1..65535"
"carrier-delay-down": "integer" Carrier Delay down in msecs, must be set to 0
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CARRIER-DELAY - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/carrier-delay/

Create operation of resource: carrier-delay

carrier-delaybody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"carrier-delay-up": "integer", Carrier Delay (up) in msecs
range: "1..65535"
"carrier-delay-down": "integer" Carrier Delay down in msecs, must be set to 0
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CARRIER-DELAY - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/carrier-delay/

Delete operation of resource: carrier-delay

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CARRIER-DELAY - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/carrier-delay/

Retrieve operation of resource: carrier-delay

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"carrier-delay-up": "integer", Carrier Delay (up) in msecs
range: "1..65535"
"carrier-delay-down": "integer" Carrier Delay down in msecs, must be set to 0
} }

VLAN-TRUNK-CONFIGURATION - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-trunk-configuration/

Update operation of resource: vlan-trunk-configuration

vlan-trunk-configurationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"vlan-type": "string", Whether this interface is dot1ad or dot1Q
"vlan-identifier": "string" VLAN identifier
},
"tunneling-ethertype": "string" The outer ethertype used in Q-in-Q frames. The\ndefault value is 0x8100
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VLAN-TRUNK-CONFIGURATION - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-trunk-configuration/

Create operation of resource: vlan-trunk-configuration

vlan-trunk-configurationbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{      
"vlan-type": "string", Whether this interface is dot1ad or dot1Q
"vlan-identifier": "string" VLAN identifier
},
"tunneling-ethertype": "string" The outer ethertype used in Q-in-Q frames. The\ndefault value is 0x8100
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VLAN-TRUNK-CONFIGURATION - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-trunk-configuration/

Delete operation of resource: vlan-trunk-configuration

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VLAN-TRUNK-CONFIGURATION - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-trunk-configuration/

Retrieve operation of resource: vlan-trunk-configuration

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"vlan-type": "string", Whether this interface is dot1ad or dot1Q
"vlan-identifier": "string" VLAN identifier
},
"tunneling-ethertype": "string" The outer ethertype used in Q-in-Q frames. The\ndefault value is 0x8100
} }

NATIVE-VLAN-IDENTIFIER - Update

PUT Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-trunk-configuration/native-vlan-identifier/

Update operation of resource: native-vlan-identifier

native-vlan-identifierbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"vlan-type": "string", Whether this interface is dot1ad or dot1Q
"vlan-identifier": "string" VLAN identifier
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NATIVE-VLAN-IDENTIFIER - Create

POST Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-trunk-configuration/native-vlan-identifier/

Create operation of resource: native-vlan-identifier

native-vlan-identifierbody object

active interface-name: string
in path

ID of active interface-name

Request Content-Types: application/json
Request Example
{    
"vlan-type": "string", Whether this interface is dot1ad or dot1Q
"vlan-identifier": "string" VLAN identifier
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NATIVE-VLAN-IDENTIFIER - Delete

DELETE Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-trunk-configuration/native-vlan-identifier/

Delete operation of resource: native-vlan-identifier

active interface-name: string
in path

ID of active interface-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NATIVE-VLAN-IDENTIFIER - Retrieve

GET Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/{active interface-name}/vlan-trunk-configuration/native-vlan-identifier/

Retrieve operation of resource: native-vlan-identifier

active interface-name: string
in path

ID of active interface-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"vlan-type": "string", Whether this interface is dot1ad or dot1Q
"vlan-identifier": "string" VLAN identifier
} }

ETHERNET-FEATURES - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/

Update operation of resource: ethernet-features

ethernet-featuresbody object

Request Content-Types: application/json
Request Example
{      
"egress-filtering-default-on": "null" Whether Egress Filtering is on by default
}, { {
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] },
"nv-satellite-sla-processing-disable": "null", Disable processing of Ethernet SLA packets on\nnV Satellite devices
"hold-time": "integer", Hold Time in minutes
range: "1..525600"
default: "100"
"cache-size": "integer" Cache Size limit (number of replies)
range: "1..4294967295"
default: "100"
} } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-FEATURES - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/

Create operation of resource: ethernet-features

ethernet-featuresbody object

Request Content-Types: application/json
Request Example
{      
"egress-filtering-default-on": "null" Whether Egress Filtering is on by default
}, { {
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] },
"nv-satellite-sla-processing-disable": "null", Disable processing of Ethernet SLA packets on\nnV Satellite devices
"hold-time": "integer", Hold Time in minutes
range: "1..525600"
default: "100"
"cache-size": "integer" Cache Size limit (number of replies)
range: "1..4294967295"
default: "100"
} } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-FEATURES - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/

Delete operation of resource: ethernet-features

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET-FEATURES - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/

Retrieve operation of resource: ethernet-features

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"egress-filtering-default-on": "null" Whether Egress Filtering is on by default
}, { {
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] },
"nv-satellite-sla-processing-disable": "null", Disable processing of Ethernet SLA packets on\nnV Satellite devices
"hold-time": "integer", Hold Time in minutes
range: "1..525600"
default: "100"
"cache-size": "integer" Cache Size limit (number of replies)
range: "1..4294967295"
default: "100"
} } } }

EGRESS-FILTERING - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/egress-filtering/

Update operation of resource: egress-filtering

egress-filteringbody object

Request Content-Types: application/json
Request Example
{    
"egress-filtering-default-on": "null" Whether Egress Filtering is on by default
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EGRESS-FILTERING - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/egress-filtering/

Create operation of resource: egress-filtering

egress-filteringbody object

Request Content-Types: application/json
Request Example
{    
"egress-filtering-default-on": "null" Whether Egress Filtering is on by default
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EGRESS-FILTERING - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/egress-filtering/

Delete operation of resource: egress-filtering

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EGRESS-FILTERING - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/egress-filtering/

Retrieve operation of resource: egress-filtering

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"egress-filtering-default-on": "null" Whether Egress Filtering is on by default
} }

CFM - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/

Update operation of resource: cfm

cfmbody object

Request Content-Types: application/json
Request Example
{        {              {                  
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] },
"nv-satellite-sla-processing-disable": "null", Disable processing of Ethernet SLA packets on\nnV Satellite devices
"hold-time": "integer", Hold Time in minutes
range: "1..525600"
default: "100"
"cache-size": "integer" Cache Size limit (number of replies)
range: "1..4294967295"
default: "100"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CFM - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/

Create operation of resource: cfm

cfmbody object

Request Content-Types: application/json
Request Example
{        {              {                  
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] },
"nv-satellite-sla-processing-disable": "null", Disable processing of Ethernet SLA packets on\nnV Satellite devices
"hold-time": "integer", Hold Time in minutes
range: "1..525600"
default: "100"
"cache-size": "integer" Cache Size limit (number of replies)
range: "1..4294967295"
default: "100"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CFM - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/

Delete operation of resource: cfm

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CFM - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/

Retrieve operation of resource: cfm

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {              {                  
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] },
"nv-satellite-sla-processing-disable": "null", Disable processing of Ethernet SLA packets on\nnV Satellite devices
"hold-time": "integer", Hold Time in minutes
range: "1..525600"
default: "100"
"cache-size": "integer" Cache Size limit (number of replies)
range: "1..4294967295"
default: "100"
} } }

TRACEROUTE-CACHE - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/traceroute-cache/

Update operation of resource: traceroute-cache

traceroute-cachebody object

Request Content-Types: application/json
Request Example
{    
"hold-time": "integer", Hold Time in minutes
range: "1..525600"
default: "100"
"cache-size": "integer" Cache Size limit (number of replies)
range: "1..4294967295"
default: "100"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRACEROUTE-CACHE - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/traceroute-cache/

Create operation of resource: traceroute-cache

traceroute-cachebody object

Request Content-Types: application/json
Request Example
{    
"hold-time": "integer", Hold Time in minutes
range: "1..525600"
default: "100"
"cache-size": "integer" Cache Size limit (number of replies)
range: "1..4294967295"
default: "100"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRACEROUTE-CACHE - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/traceroute-cache/

Delete operation of resource: traceroute-cache

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRACEROUTE-CACHE - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/traceroute-cache/

Retrieve operation of resource: traceroute-cache

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"hold-time": "integer", Hold Time in minutes
range: "1..525600"
default: "100"
"cache-size": "integer" Cache Size limit (number of replies)
range: "1..4294967295"
default: "100"
} }

DOMAINS - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/

Update operation of resource: domains

domainsbody object

Request Content-Types: application/json
Request Example
{      {            {                
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAINS - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/

Create operation of resource: domains

domainsbody object

Request Content-Types: application/json
Request Example
{      {            {                
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAINS - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/

Delete operation of resource: domains

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAINS - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/

Retrieve operation of resource: domains

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {            {                
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] } }

DOMAIN - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/

Update operation of resource: domain

domainbody object

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    {          {              
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/

Create operation of resource: domain

domainbody object

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    {          {              
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/

Delete operation of resource: domain

domain: string
in path

ID of domain

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/

Retrieve operation of resource: domain

domain: string
in path

ID of domain

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {          {              
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] },
"domain": "string", Maintenance Domain
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} } ] }

SERVICES - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/

Update operation of resource: services

servicesbody object

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{      {          
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICES - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/

Create operation of resource: services

servicesbody object

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{      {          
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICES - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/

Delete operation of resource: services

domain: string
in path

ID of domain

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICES - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/

Retrieve operation of resource: services

domain: string
in path

ID of domain

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {          
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] } }

SERVICE - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/

Update operation of resource: service

servicebody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    {        
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/

Create operation of resource: service

servicebody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    {        
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/

Delete operation of resource: service

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/

Retrieve operation of resource: service

domain: string
in path

ID of domain

service: string
in path

ID of service

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {        
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
},
"tags": "integer", The number of tags to use when sending CFM\npackets from up MEPs in this Service
"log-efd": "null", Enable logging
"continuity-check-archive-hold-time": "integer", How long to store information for peer MEPs\nthat have timed out
range: "1..65535"
default: "100"
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
},
"maximum-meps": "integer", Limit on the number of MEPs in the service
range: "2..8190"
default: "100"
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } },
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
},
"continuity-check-auto-traceroute": "null", Automatically trigger a traceroute when a\npeer MEP times out
"log-ais": "null", Log receipt of AIS and LCK messages
"service": "string", Service (Maintenance Association)
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} },
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
},
"log-cross-check-errors": "null", Log Cross-check Errors detected for peer\nMEPs
"log-continuity-check-errors": "null", Log CCM Errors detected for peer MEPs
"log-continuity-check-state-changes": "null" Log peer MEPs state changes
} ] }

EFD2 - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/efd2/

Update operation of resource: efd2

efd2body object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EFD2 - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/efd2/

Create operation of resource: efd2

efd2body object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EFD2 - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/efd2/

Delete operation of resource: efd2

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EFD2 - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/efd2/

Retrieve operation of resource: efd2

domain: string
in path

ID of domain

service: string
in path

ID of service

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"enable": "null", Enable EFD
"protection-switching-enable": "null" Enable protection switching notifications
} }

CONTINUITY-CHECK-INTERVAL - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/continuity-check-interval/

Update operation of resource: continuity-check-interval

continuity-check-intervalbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTINUITY-CHECK-INTERVAL - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/continuity-check-interval/

Create operation of resource: continuity-check-interval

continuity-check-intervalbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTINUITY-CHECK-INTERVAL - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/continuity-check-interval/

Delete operation of resource: continuity-check-interval

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTINUITY-CHECK-INTERVAL - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/continuity-check-interval/

Retrieve operation of resource: continuity-check-interval

domain: string
in path

ID of domain

service: string
in path

ID of service

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"ccm-interval": "string", CCM Interval
"loss-threshold": "integer" Loss Threshold (default 3)
range: "2..255"
default: 3)"
} }

MIP-AUTO-CREATION - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/mip-auto-creation/

Update operation of resource: mip-auto-creation

mip-auto-creationbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MIP-AUTO-CREATION - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/mip-auto-creation/

Create operation of resource: mip-auto-creation

mip-auto-creationbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MIP-AUTO-CREATION - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/mip-auto-creation/

Delete operation of resource: mip-auto-creation

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MIP-AUTO-CREATION - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/mip-auto-creation/

Retrieve operation of resource: mip-auto-creation

domain: string
in path

ID of domain

service: string
in path

ID of service

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"mip-policy": "string", MIP Auto-creation Policy
"ccm-learning-enable": "null" Enable CCM Learning at MIPs in this\nservice
} }

AIS - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/ais/

Update operation of resource: ais

aisbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{      
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AIS - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/ais/

Create operation of resource: ais

aisbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{      
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AIS - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/ais/

Delete operation of resource: ais

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AIS - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/ais/

Retrieve operation of resource: ais

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} } }

TRANSMISSION - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/ais/transmission/

Update operation of resource: transmission

transmissionbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSMISSION - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/ais/transmission/

Create operation of resource: transmission

transmissionbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSMISSION - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/ais/transmission/

Delete operation of resource: transmission

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSMISSION - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/ais/transmission/

Retrieve operation of resource: transmission

domain: string
in path

ID of domain

service: string
in path

ID of service

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"cos": "string", Class of Service bits
"ais-interval": "string" AIS Interval
} }

CROSS-CHECK - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/

Update operation of resource: cross-check

cross-checkbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CROSS-CHECK - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/

Create operation of resource: cross-check

cross-checkbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CROSS-CHECK - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/

Delete operation of resource: cross-check

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CROSS-CHECK - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/

Retrieve operation of resource: cross-check

domain: string
in path

ID of domain

service: string
in path

ID of service

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"auto": "null", Enable automatic MEP cross-check
{
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } } }

CROSS-CHECK-MEPS - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/cross-check-meps/

Update operation of resource: cross-check-meps

cross-check-mepsbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{      {
        
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CROSS-CHECK-MEPS - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/cross-check-meps/

Create operation of resource: cross-check-meps

cross-check-mepsbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{      {
        
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CROSS-CHECK-MEPS - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/cross-check-meps/

Delete operation of resource: cross-check-meps

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CROSS-CHECK-MEPS - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/cross-check-meps/

Retrieve operation of resource: cross-check-meps

domain: string
in path

ID of domain

service: string
in path

ID of service

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] } }

CROSS-CHECK-MEP - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/cross-check-meps/cross-check-mep/{mep-id}/

Update operation of resource: cross-check-mep

cross-check-mepbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

mep-id: string
in path

ID of mep-id

Request Content-Types: application/json
Request Example
{    {
      
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CROSS-CHECK-MEP - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/cross-check-meps/cross-check-mep/{mep-id}/

Create operation of resource: cross-check-mep

cross-check-mepbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

mep-id: string
in path

ID of mep-id

Request Content-Types: application/json
Request Example
{    {
      
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CROSS-CHECK-MEP - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/cross-check-meps/cross-check-mep/{mep-id}/

Delete operation of resource: cross-check-mep

domain: string
in path

ID of domain

service: string
in path

ID of service

mep-id: string
in path

ID of mep-id

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CROSS-CHECK-MEP - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/cross-check/cross-check-meps/cross-check-mep/{mep-id}/

Retrieve operation of resource: cross-check-mep

domain: string
in path

ID of domain

service: string
in path

ID of service

mep-id: string
in path

ID of mep-id

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"mep-id": "string", MEP ID
"enable-mac-address": "null", MAC Address is specified
"mac-address": "string" MAC Address
} ] }

SERVICE-PROPERTIES - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/service-properties/

Update operation of resource: service-properties

service-propertiesbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE-PROPERTIES - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/service-properties/

Create operation of resource: service-properties

service-propertiesbody object

domain: string
in path

ID of domain

service: string
in path

ID of service

Request Content-Types: application/json
Request Example
{    
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE-PROPERTIES - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/service-properties/

Delete operation of resource: service-properties

domain: string
in path

ID of domain

service: string
in path

ID of service

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE-PROPERTIES - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/services/service/{service}/service-properties/

Retrieve operation of resource: service-properties

domain: string
in path

ID of domain

service: string
in path

ID of service

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"evi": "integer", EVPN ID
range: "1..65534"
"service-type": "string", Type of Service
"short-ma-name-string": "string", String Short MA Name, if format is String
"short-ma-name-oui": "integer", VPN OUI, if Short MA Name format is VPN_ID
range: "0..16777215"
"switching-name": "string", Bridge Domain or Cross-connect name, if\nService Type is BridgeDomain or\nCrossConnect
"remote-ce-id": "integer", Remote Customer Edge Identifier
range: "1..16384"
"short-ma-name-umc": "string", Unique MEG ID Code (UMC), if format is\nICCBased
"short-ma-name-format": "string", Short MA Name Format
"group-name": "string", Bridge Group or Cross-connect Group, if\nService Type is BridgeDomain or\nCrossConnect
"short-ma-name-number": "integer", Numeric Short MA Name, if format is VlanID\nor Number
range: "0..65535"
"ce-id": "integer", Local Customer Edge Identifier
range: "1..16384"
"short-ma-name-vpn-index": "integer", VPN Index, if Short MA Name format is\nVPN_ID
"short-ma-name-icc": "string" ITU Carrier Code (ICC), if format is\nICCBased
} }

DOMAIN-PROPERTIES - Update

PUT Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/domain-properties/

Update operation of resource: domain-properties

domain-propertiesbody object

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-PROPERTIES - Create

POST Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/domain-properties/

Create operation of resource: domain-properties

domain-propertiesbody object

domain: string
in path

ID of domain

Request Content-Types: application/json
Request Example
{    
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-PROPERTIES - Delete

DELETE Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/domain-properties/

Delete operation of resource: domain-properties

domain: string
in path

ID of domain

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-PROPERTIES - Retrieve

GET Cisco-IOS-XR-l2-eth-infra-cfg:ethernet-features/cfm/domains/domain/{domain}/domain-properties/

Retrieve operation of resource: domain-properties

domain: string
in path

ID of domain

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"mdid-string": "string", String MDID, if MDID format is String or\nDNSLike
"mdid-format": "string", Maintenance Domain ID Format
"mdid-mac-address": "string", MAC Address, if MDID Format is MACAddress
"mdid-number": "integer", Unsigned 16-bit Interger, if MDID Format is\nMACAddress
range: "0..65535"
"level": "string" Maintenance Domain Level
} }

SNMP - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/

Update operation of resource: snmp

snmpbody object

Request Content-Types: application/json
Request Example
{    
"authentication": "null", Enable authentication notification
"enable": "null", Enable SNMP notifications
"warm-start": "null", Enable warm start notification
"cold-start": "null" Enable cold start notification
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SNMP - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/

Create operation of resource: snmp

snmpbody object

Request Content-Types: application/json
Request Example
{    
"authentication": "null", Enable authentication notification
"enable": "null", Enable SNMP notifications
"warm-start": "null", Enable warm start notification
"cold-start": "null" Enable cold start notification
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SNMP - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/

Delete operation of resource: snmp

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SNMP - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/

Retrieve operation of resource: snmp

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"authentication": "null", Enable authentication notification
"enable": "null", Enable SNMP notifications
"warm-start": "null", Enable warm start notification
"cold-start": "null" Enable cold start notification
} }

ENCRYPTED-COMMUNITY-MAPS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/encrypted-community-maps/

Update operation of resource: encrypted-community-maps

encrypted-community-mapsbody object

Request Content-Types: application/json
Request Example
{      {
        
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITY-MAPS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/encrypted-community-maps/

Create operation of resource: encrypted-community-maps

encrypted-community-mapsbody object

Request Content-Types: application/json
Request Example
{      {
        
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITY-MAPS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/encrypted-community-maps/

Delete operation of resource: encrypted-community-maps

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITY-MAPS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/encrypted-community-maps/

Retrieve operation of resource: encrypted-community-maps

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] } }

ENCRYPTED-COMMUNITY-MAP - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/encrypted-community-maps/encrypted-community-map/{community-name}/

Update operation of resource: encrypted-community-map

encrypted-community-mapbody object

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    {
      
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITY-MAP - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/encrypted-community-maps/encrypted-community-map/{community-name}/

Create operation of resource: encrypted-community-map

encrypted-community-mapbody object

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    {
      
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITY-MAP - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/encrypted-community-maps/encrypted-community-map/{community-name}/

Delete operation of resource: encrypted-community-map

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITY-MAP - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/encrypted-community-maps/encrypted-community-map/{community-name}/

Retrieve operation of resource: encrypted-community-map

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] }

VIEWS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/views/

Update operation of resource: views

viewsbody object

Request Content-Types: application/json
Request Example
{      {
        
"view-name": "string", Name of the view
"view-inclusion": "string", MIB view to be included or excluded
"family": "string" MIB view family name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VIEWS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/views/

Create operation of resource: views

viewsbody object

Request Content-Types: application/json
Request Example
{      {
        
"view-name": "string", Name of the view
"view-inclusion": "string", MIB view to be included or excluded
"family": "string" MIB view family name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VIEWS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/views/

Delete operation of resource: views

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VIEWS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/views/

Retrieve operation of resource: views

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"view-name": "string", Name of the view
"view-inclusion": "string", MIB view to be included or excluded
"family": "string" MIB view family name
} ] } }

VIEW - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/views/view/{view-name family}/

Update operation of resource: view

viewbody object

view-name family: string
in path

ID of view-name family

Request Content-Types: application/json
Request Example
{    {
      
"view-name": "string", Name of the view
"view-inclusion": "string", MIB view to be included or excluded
"family": "string" MIB view family name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VIEW - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/views/view/{view-name family}/

Create operation of resource: view

viewbody object

view-name family: string
in path

ID of view-name family

Request Content-Types: application/json
Request Example
{    {
      
"view-name": "string", Name of the view
"view-inclusion": "string", MIB view to be included or excluded
"family": "string" MIB view family name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VIEW - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/views/view/{view-name family}/

Delete operation of resource: view

view-name family: string
in path

ID of view-name family

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VIEW - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/views/view/{view-name family}/

Retrieve operation of resource: view

view-name family: string
in path

ID of view-name family

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"view-name": "string", Name of the view
"view-inclusion": "string", MIB view to be included or excluded
"family": "string" MIB view family name
} ] }

LOGGING - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/logging/

Update operation of resource: logging

loggingbody object

Request Content-Types: application/json
Request Example
{      
"oid-processing": "integer", SNMP logging threshold for OID processing
range: "0..20000"
default: "500"
"pdu-processing": "integer" SNMP logging threshold for PDU processing
range: "0..20000"
default: "20000"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

LOGGING - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/logging/

Create operation of resource: logging

loggingbody object

Request Content-Types: application/json
Request Example
{      
"oid-processing": "integer", SNMP logging threshold for OID processing
range: "0..20000"
default: "500"
"pdu-processing": "integer" SNMP logging threshold for PDU processing
range: "0..20000"
default: "20000"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

LOGGING - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/logging/

Delete operation of resource: logging

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

LOGGING - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/logging/

Retrieve operation of resource: logging

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"oid-processing": "integer", SNMP logging threshold for OID processing
range: "0..20000"
default: "500"
"pdu-processing": "integer" SNMP logging threshold for PDU processing
range: "0..20000"
default: "20000"
} } }

THRESHOLD - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/logging/threshold/

Update operation of resource: threshold

thresholdbody object

Request Content-Types: application/json
Request Example
{    
"oid-processing": "integer", SNMP logging threshold for OID processing
range: "0..20000"
default: "500"
"pdu-processing": "integer" SNMP logging threshold for PDU processing
range: "0..20000"
default: "20000"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

THRESHOLD - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/logging/threshold/

Create operation of resource: threshold

thresholdbody object

Request Content-Types: application/json
Request Example
{    
"oid-processing": "integer", SNMP logging threshold for OID processing
range: "0..20000"
default: "500"
"pdu-processing": "integer" SNMP logging threshold for PDU processing
range: "0..20000"
default: "20000"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

THRESHOLD - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/logging/threshold/

Delete operation of resource: threshold

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

THRESHOLD - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/logging/threshold/

Retrieve operation of resource: threshold

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"oid-processing": "integer", SNMP logging threshold for OID processing
range: "0..20000"
default: "500"
"pdu-processing": "integer" SNMP logging threshold for PDU processing
range: "0..20000"
default: "20000"
} }

ADMINISTRATION - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/

Update operation of resource: administration

administrationbody object

Request Content-Types: application/json
Request Example
{        {
          
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] }, {
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ADMINISTRATION - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/

Create operation of resource: administration

administrationbody object

Request Content-Types: application/json
Request Example
{        {
          
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] }, {
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ADMINISTRATION - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/

Delete operation of resource: administration

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ADMINISTRATION - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/

Retrieve operation of resource: administration

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {
          
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] }, {
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] } } }

DEFAULT-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/default-communities/

Update operation of resource: default-communities

default-communitiesbody object

Request Content-Types: application/json
Request Example
{      {
        
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/default-communities/

Create operation of resource: default-communities

default-communitiesbody object

Request Content-Types: application/json
Request Example
{      {
        
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/default-communities/

Delete operation of resource: default-communities

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/default-communities/

Retrieve operation of resource: default-communities

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] } }

DEFAULT-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/default-communities/default-community/{community-name}/

Update operation of resource: default-community

default-communitybody object

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/default-communities/default-community/{community-name}/

Create operation of resource: default-community

default-communitybody object

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/default-communities/default-community/{community-name}/

Delete operation of resource: default-community

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/default-communities/default-community/{community-name}/

Retrieve operation of resource: default-community

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} }

ENCRYPTED-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/encrypted-communities/

Update operation of resource: encrypted-communities

encrypted-communitiesbody object

Request Content-Types: application/json
Request Example
{      {
        
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/encrypted-communities/

Create operation of resource: encrypted-communities

encrypted-communitiesbody object

Request Content-Types: application/json
Request Example
{      {
        
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/encrypted-communities/

Delete operation of resource: encrypted-communities

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/encrypted-communities/

Retrieve operation of resource: encrypted-communities

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} ] } }

ENCRYPTED-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/encrypted-communities/encrypted-community/{community-name}/

Update operation of resource: encrypted-community

encrypted-communitybody object

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/encrypted-communities/encrypted-community/{community-name}/

Create operation of resource: encrypted-community

encrypted-communitybody object

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/encrypted-communities/encrypted-community/{community-name}/

Delete operation of resource: encrypted-community

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/administration/encrypted-communities/encrypted-community/{community-name}/

Retrieve operation of resource: encrypted-community

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"priviledge": "string", Read/Write Access
"view-name": "string", MIB view to which the community has access
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"community-name": "string", SNMP community string
"owner": "string", Logical Router or System owner access
"v4acl-type": "string", Access-list type
"v4-access-list": "string" Ipv4 Access-list name
} }

AGENT - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/

Update operation of resource: agent

agentbody object

Request Content-Types: application/json
Request Example
{          {
            
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] },
"local": "string" engineID of the local agent
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AGENT - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/

Create operation of resource: agent

agentbody object

Request Content-Types: application/json
Request Example
{          {
            
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] },
"local": "string" engineID of the local agent
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AGENT - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/

Delete operation of resource: agent

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AGENT - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/

Retrieve operation of resource: agent

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{          {
            
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] },
"local": "string" engineID of the local agent
} } }

ENGINE-ID - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/

Update operation of resource: engine-id

engine-idbody object

Request Content-Types: application/json
Request Example
{        {
          
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] },
"local": "string" engineID of the local agent
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENGINE-ID - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/

Create operation of resource: engine-id

engine-idbody object

Request Content-Types: application/json
Request Example
{        {
          
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] },
"local": "string" engineID of the local agent
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENGINE-ID - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/

Delete operation of resource: engine-id

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENGINE-ID - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/

Retrieve operation of resource: engine-id

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {
          
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] },
"local": "string" engineID of the local agent
} }

REMOTES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/remotes/

Update operation of resource: remotes

remotesbody object

Request Content-Types: application/json
Request Example
{      {
        
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REMOTES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/remotes/

Create operation of resource: remotes

remotesbody object

Request Content-Types: application/json
Request Example
{      {
        
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REMOTES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/remotes/

Delete operation of resource: remotes

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REMOTES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/remotes/

Retrieve operation of resource: remotes

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] } }

REMOTE - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/remotes/remote/{remote-address}/

Update operation of resource: remote

remotebody object

remote-address: string
in path

ID of remote-address

Request Content-Types: application/json
Request Example
{    {
      
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REMOTE - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/remotes/remote/{remote-address}/

Create operation of resource: remote

remotebody object

remote-address: string
in path

ID of remote-address

Request Content-Types: application/json
Request Example
{    {
      
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REMOTE - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/remotes/remote/{remote-address}/

Delete operation of resource: remote

remote-address: string
in path

ID of remote-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REMOTE - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/agent/engine-id/remotes/remote/{remote-address}/

Retrieve operation of resource: remote

remote-address: string
in path

ID of remote-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"remote-engine-id": "string", engine ID octet string
"remote-address": "string", IP address of remote SNMP entity
"port": "string" UDP port number
} ] }

TRAP - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap/

Update operation of resource: trap

trapbody object

Request Content-Types: application/json
Request Example
{    
"queue-length": "integer", Message queue length for each TRAP host
range: "1..5000"
"throttle-time": "integer", Set throttle time for handling traps
range: "50..1000"
units: "millisecond"
"timeout": "integer" Timeout for TRAP message retransmissions
range: "1..600000"
units: "millisecond"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap/

Create operation of resource: trap

trapbody object

Request Content-Types: application/json
Request Example
{    
"queue-length": "integer", Message queue length for each TRAP host
range: "1..5000"
"throttle-time": "integer", Set throttle time for handling traps
range: "50..1000"
units: "millisecond"
"timeout": "integer" Timeout for TRAP message retransmissions
range: "1..600000"
units: "millisecond"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap/

Delete operation of resource: trap

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap/

Retrieve operation of resource: trap

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"queue-length": "integer", Message queue length for each TRAP host
range: "1..5000"
"throttle-time": "integer", Set throttle time for handling traps
range: "50..1000"
units: "millisecond"
"timeout": "integer" Timeout for TRAP message retransmissions
range: "1..600000"
units: "millisecond"
} }

DROP-PACKET - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/drop-packet/

Update operation of resource: drop-packet

drop-packetbody object

Request Content-Types: application/json
Request Example
{    
"unknown-user": "null" Enable drop unknown user name
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DROP-PACKET - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/drop-packet/

Create operation of resource: drop-packet

drop-packetbody object

Request Content-Types: application/json
Request Example
{    
"unknown-user": "null" Enable drop unknown user name
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DROP-PACKET - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/drop-packet/

Delete operation of resource: drop-packet

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DROP-PACKET - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/drop-packet/

Retrieve operation of resource: drop-packet

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"unknown-user": "null" Enable drop unknown user name
} }

IPV6 - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv6/

Update operation of resource: ipv6

ipv6body object

Request Content-Types: application/json
Request Example
{      
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV6 - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv6/

Create operation of resource: ipv6

ipv6body object

Request Content-Types: application/json
Request Example
{      
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV6 - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv6/

Delete operation of resource: ipv6

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV6 - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv6/

Retrieve operation of resource: ipv6

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} } }

TOS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv6/tos/

Update operation of resource: tos

tosbody object

Request Content-Types: application/json
Request Example
{    
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TOS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv6/tos/

Create operation of resource: tos

tosbody object

Request Content-Types: application/json
Request Example
{    
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TOS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv6/tos/

Delete operation of resource: tos

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TOS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv6/tos/

Retrieve operation of resource: tos

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} }

IPV4 - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv4/

Update operation of resource: ipv4

ipv4body object

Request Content-Types: application/json
Request Example
{      
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV4 - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv4/

Create operation of resource: ipv4

ipv4body object

Request Content-Types: application/json
Request Example
{      
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV4 - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv4/

Delete operation of resource: ipv4

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV4 - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv4/

Retrieve operation of resource: ipv4

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} } }

TOS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv4/tos/

Update operation of resource: tos

tosbody object

Request Content-Types: application/json
Request Example
{    
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TOS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv4/tos/

Create operation of resource: tos

tosbody object

Request Content-Types: application/json
Request Example
{    
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TOS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv4/tos/

Delete operation of resource: tos

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TOS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/ipv4/tos/

Retrieve operation of resource: tos

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"type": "string", SNMP TOS type DSCP or Precedence
"dscp": "string", SNMP DSCP value
"precedence": "string" SNMP Precedence value
} }

SYSTEM - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/system/

Update operation of resource: system

systembody object

Request Content-Types: application/json
Request Example
{    
"chassis-id": "string", String to uniquely identify this chassis
"contact": "string", identification of the contact person for this\nmanaged node
"location": "string" The physical location of this node
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SYSTEM - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/system/

Create operation of resource: system

systembody object

Request Content-Types: application/json
Request Example
{    
"chassis-id": "string", String to uniquely identify this chassis
"contact": "string", identification of the contact person for this\nmanaged node
"location": "string" The physical location of this node
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SYSTEM - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/system/

Delete operation of resource: system

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SYSTEM - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/system/

Retrieve operation of resource: system

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"chassis-id": "string", String to uniquely identify this chassis
"contact": "string", identification of the contact person for this\nmanaged node
"location": "string" The physical location of this node
} }

TARGET - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/target/

Update operation of resource: target

targetbody object

Request Content-Types: application/json
Request Example
{        {
          
"ip-address": "string" IPv4/Ipv6 address
} ] },
"target-list-name": "string", Name of the target list
{
"name": "string" VRF Name
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/target/

Create operation of resource: target

targetbody object

Request Content-Types: application/json
Request Example
{        {
          
"ip-address": "string" IPv4/Ipv6 address
} ] },
"target-list-name": "string", Name of the target list
{
"name": "string" VRF Name
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/target/

Delete operation of resource: target

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/target/

Retrieve operation of resource: target

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {
          
"ip-address": "string" IPv4/Ipv6 address
} ] },
"target-list-name": "string", Name of the target list
{
"name": "string" VRF Name
} ] } } }

TARGETS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/

Update operation of resource: targets

targetsbody object

Request Content-Types: application/json
Request Example
{      {            {
              
"ip-address": "string" IPv4/Ipv6 address
} ] },
"target-list-name": "string", Name of the target list
{
"name": "string" VRF Name
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGETS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/

Create operation of resource: targets

targetsbody object

Request Content-Types: application/json
Request Example
{      {            {
              
"ip-address": "string" IPv4/Ipv6 address
} ] },
"target-list-name": "string", Name of the target list
{
"name": "string" VRF Name
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGETS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/

Delete operation of resource: targets

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGETS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/

Retrieve operation of resource: targets

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {            {
              
"ip-address": "string" IPv4/Ipv6 address
} ] },
"target-list-name": "string", Name of the target list
{
"name": "string" VRF Name
} ] } } ] } }

TARGET - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/

Update operation of resource: target

targetbody object

target-list-name: string
in path

ID of target-list-name

Request Content-Types: application/json
Request Example
{        {
          
"ip-address": "string" IPv4/Ipv6 address
} ] },
"target-list-name": "string", Name of the target list
{
"name": "string" VRF Name
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/

Create operation of resource: target

targetbody object

target-list-name: string
in path

ID of target-list-name

Request Content-Types: application/json
Request Example
{        {
          
"ip-address": "string" IPv4/Ipv6 address
} ] },
"target-list-name": "string", Name of the target list
{
"name": "string" VRF Name
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/

Delete operation of resource: target

target-list-name: string
in path

ID of target-list-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/

Retrieve operation of resource: target

target-list-name: string
in path

ID of target-list-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {
          
"ip-address": "string" IPv4/Ipv6 address
} ] },
"target-list-name": "string", Name of the target list
{
"name": "string" VRF Name
} ] } } }

VRF-NAMES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/vrf-names/

Update operation of resource: vrf-names

vrf-namesbody object

target-list-name: string
in path

ID of target-list-name

Request Content-Types: application/json
Request Example
{      {
        
"name": "string" VRF Name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRF-NAMES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/vrf-names/

Create operation of resource: vrf-names

vrf-namesbody object

target-list-name: string
in path

ID of target-list-name

Request Content-Types: application/json
Request Example
{      {
        
"name": "string" VRF Name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRF-NAMES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/vrf-names/

Delete operation of resource: vrf-names

target-list-name: string
in path

ID of target-list-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRF-NAMES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/vrf-names/

Retrieve operation of resource: vrf-names

target-list-name: string
in path

ID of target-list-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"name": "string" VRF Name
} ] } }

VRF-NAME - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/vrf-names/vrf-name/{name}/

Update operation of resource: vrf-name

vrf-namebody object

target-list-name: string
in path

ID of target-list-name

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {
      
"name": "string" VRF Name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRF-NAME - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/vrf-names/vrf-name/{name}/

Create operation of resource: vrf-name

vrf-namebody object

target-list-name: string
in path

ID of target-list-name

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {
      
"name": "string" VRF Name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRF-NAME - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/vrf-names/vrf-name/{name}/

Delete operation of resource: vrf-name

target-list-name: string
in path

ID of target-list-name

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRF-NAME - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/vrf-names/vrf-name/{name}/

Retrieve operation of resource: vrf-name

target-list-name: string
in path

ID of target-list-name

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"name": "string" VRF Name
} ] }

TARGET-ADDRESSES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/target-addresses/

Update operation of resource: target-addresses

target-addressesbody object

target-list-name: string
in path

ID of target-list-name

Request Content-Types: application/json
Request Example
{      {
        
"ip-address": "string" IPv4/Ipv6 address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET-ADDRESSES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/target-addresses/

Create operation of resource: target-addresses

target-addressesbody object

target-list-name: string
in path

ID of target-list-name

Request Content-Types: application/json
Request Example
{      {
        
"ip-address": "string" IPv4/Ipv6 address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET-ADDRESSES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/target-addresses/

Delete operation of resource: target-addresses

target-list-name: string
in path

ID of target-list-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET-ADDRESSES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/target-addresses/

Retrieve operation of resource: target-addresses

target-list-name: string
in path

ID of target-list-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"ip-address": "string" IPv4/Ipv6 address
} ] } }

TARGET-ADDRESS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/target-addresses/target-address/{ip-address}/

Update operation of resource: target-address

target-addressbody object

target-list-name: string
in path

ID of target-list-name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{    {
      
"ip-address": "string" IPv4/Ipv6 address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET-ADDRESS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/target-addresses/target-address/{ip-address}/

Create operation of resource: target-address

target-addressbody object

target-list-name: string
in path

ID of target-list-name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{    {
      
"ip-address": "string" IPv4/Ipv6 address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET-ADDRESS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/target-addresses/target-address/{ip-address}/

Delete operation of resource: target-address

target-list-name: string
in path

ID of target-list-name

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TARGET-ADDRESS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/target/targets/target/{target-list-name}/target-addresses/target-address/{ip-address}/

Retrieve operation of resource: target-address

target-list-name: string
in path

ID of target-list-name

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"ip-address": "string" IPv4/Ipv6 address
} ] }

NOTIFICATION - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/

Update operation of resource: notification

notificationbody object

Request Content-Types: application/json
Request Example
{      
"status": "null", Enable cvplsStatusChanged notification
"full-raise": "null", Enable cvplsFwdFullAlarmRaised notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"full-clear": "null" Enable cvplsFwdFullAlarmCleared notification
},
"enable": "null" Enable CISCO-IETF-PW-MIB notifications
},
"authentication": "null", Enable authentication notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"warm-start": "null", Enable warm start notification
"cold-start": "null" Enable cold start notification
},
"vc-up": "null", Enable cpwVcUp notification
"vc-down": "null", Enable cpwVcDown notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"cisco": "null" Enable Cisco format including extra varbinds
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NOTIFICATION - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/

Create operation of resource: notification

notificationbody object

Request Content-Types: application/json
Request Example
{      
"status": "null", Enable cvplsStatusChanged notification
"full-raise": "null", Enable cvplsFwdFullAlarmRaised notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"full-clear": "null" Enable cvplsFwdFullAlarmCleared notification
},
"enable": "null" Enable CISCO-IETF-PW-MIB notifications
},
"authentication": "null", Enable authentication notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"warm-start": "null", Enable warm start notification
"cold-start": "null" Enable cold start notification
},
"vc-up": "null", Enable cpwVcUp notification
"vc-down": "null", Enable cpwVcDown notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"cisco": "null" Enable Cisco format including extra varbinds
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NOTIFICATION - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/

Delete operation of resource: notification

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NOTIFICATION - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/

Retrieve operation of resource: notification

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"status": "null", Enable cvplsStatusChanged notification
"full-raise": "null", Enable cvplsFwdFullAlarmRaised notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"full-clear": "null" Enable cvplsFwdFullAlarmCleared notification
},
"enable": "null" Enable CISCO-IETF-PW-MIB notifications
},
"authentication": "null", Enable authentication notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"warm-start": "null", Enable warm start notification
"cold-start": "null" Enable cold start notification
},
"vc-up": "null", Enable cpwVcUp notification
"vc-down": "null", Enable cpwVcDown notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"cisco": "null" Enable Cisco format including extra varbinds
} } }

SNMP - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/snmp/

Update operation of resource: snmp

snmpbody object

Request Content-Types: application/json
Request Example
{    
"authentication": "null", Enable authentication notification
"enable": "null", Enable SNMP notifications
"warm-start": "null", Enable warm start notification
"cold-start": "null" Enable cold start notification
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SNMP - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/snmp/

Create operation of resource: snmp

snmpbody object

Request Content-Types: application/json
Request Example
{    
"authentication": "null", Enable authentication notification
"enable": "null", Enable SNMP notifications
"warm-start": "null", Enable warm start notification
"cold-start": "null" Enable cold start notification
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SNMP - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/snmp/

Delete operation of resource: snmp

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SNMP - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/snmp/

Retrieve operation of resource: snmp

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"authentication": "null", Enable authentication notification
"enable": "null", Enable SNMP notifications
"warm-start": "null", Enable warm start notification
"cold-start": "null" Enable cold start notification
} }

VPLS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/vpls/

Update operation of resource: vpls

vplsbody object

Request Content-Types: application/json
Request Example
{    
"status": "null", Enable cvplsStatusChanged notification
"full-raise": "null", Enable cvplsFwdFullAlarmRaised notification
"enable": "null", Enable CISCO-IETF-VPLS-GENERIC-MIB\nnotifications
"full-clear": "null" Enable cvplsFwdFullAlarmCleared notification
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VPLS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/vpls/

Create operation of resource: vpls

vplsbody object

Request Content-Types: application/json
Request Example
{    
"status": "null", Enable cvplsStatusChanged notification
"full-raise": "null", Enable cvplsFwdFullAlarmRaised notification
"enable": "null", Enable CISCO-IETF-VPLS-GENERIC-MIB\nnotifications
"full-clear": "null" Enable cvplsFwdFullAlarmCleared notification
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VPLS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/vpls/

Delete operation of resource: vpls

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VPLS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/vpls/

Retrieve operation of resource: vpls

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"status": "null", Enable cvplsStatusChanged notification
"full-raise": "null", Enable cvplsFwdFullAlarmRaised notification
"enable": "null", Enable CISCO-IETF-VPLS-GENERIC-MIB\nnotifications
"full-clear": "null" Enable cvplsFwdFullAlarmCleared notification
} }

L2VPN - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/l2vpn/

Update operation of resource: l2vpn

l2vpnbody object

Request Content-Types: application/json
Request Example
{    
"vc-up": "null", Enable cpwVcUp notification
"vc-down": "null", Enable cpwVcDown notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"cisco": "null" Enable Cisco format including extra varbinds
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2VPN - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/l2vpn/

Create operation of resource: l2vpn

l2vpnbody object

Request Content-Types: application/json
Request Example
{    
"vc-up": "null", Enable cpwVcUp notification
"vc-down": "null", Enable cpwVcDown notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"cisco": "null" Enable Cisco format including extra varbinds
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2VPN - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/l2vpn/

Delete operation of resource: l2vpn

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

L2VPN - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/l2vpn/

Retrieve operation of resource: l2vpn

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"vc-up": "null", Enable cpwVcUp notification
"vc-down": "null", Enable cpwVcDown notification
"enable": "null", Enable CISCO-IETF-PW-MIB notifications
"cisco": "null" Enable Cisco format including extra varbinds
} }

CFM - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/cfm/

Update operation of resource: cfm

cfmbody object

Request Content-Types: application/json
Request Example
{    
"enable": "null" Enable 802.1ag Connectivity Fault Management\nMIB notifications
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CFM - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/cfm/

Create operation of resource: cfm

cfmbody object

Request Content-Types: application/json
Request Example
{    
"enable": "null" Enable 802.1ag Connectivity Fault Management\nMIB notifications
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CFM - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/cfm/

Delete operation of resource: cfm

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CFM - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/notification/cfm/

Retrieve operation of resource: cfm

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"enable": "null" Enable 802.1ag Connectivity Fault Management\nMIB notifications
} }

CORRELATOR - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/

Update operation of resource: correlator

correlatorbody object

Request Content-Types: application/json
Request Example
{        {              {                    {
                      
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }, { {
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"timeout": "integer", Timeout (time to wait for active correlation)\nin milliseconds
range: "1..600000"
units: "millisecond"
"name": "string" Ruleset name
} ] }, {
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } },
"name": "string", Ruleset name
{
"rulename": "string" Rule name
} ] } } ] },
"buffer-size": "integer" Configure size of the correlator buffer
range: "1024..2147483647"
units: "byte"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CORRELATOR - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/

Create operation of resource: correlator

correlatorbody object

Request Content-Types: application/json
Request Example
{        {              {                    {
                      
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }, { {
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"timeout": "integer", Timeout (time to wait for active correlation)\nin milliseconds
range: "1..600000"
units: "millisecond"
"name": "string" Ruleset name
} ] }, {
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } },
"name": "string", Ruleset name
{
"rulename": "string" Rule name
} ] } } ] },
"buffer-size": "integer" Configure size of the correlator buffer
range: "1024..2147483647"
units: "byte"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CORRELATOR - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/

Delete operation of resource: correlator

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CORRELATOR - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/

Retrieve operation of resource: correlator

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {              {                    {
                      
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }, { {
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"timeout": "integer", Timeout (time to wait for active correlation)\nin milliseconds
range: "1..600000"
units: "millisecond"
"name": "string" Ruleset name
} ] }, {
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } },
"name": "string", Ruleset name
{
"rulename": "string" Rule name
} ] } } ] },
"buffer-size": "integer" Configure size of the correlator buffer
range: "1024..2147483647"
units: "byte"
} }

RULES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/

Update operation of resource: rules

rulesbody object

Request Content-Types: application/json
Request Example
{      {            {                  {
                    
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }, { {
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"timeout": "integer", Timeout (time to wait for active correlation)\nin milliseconds
range: "1..600000"
units: "millisecond"
"name": "string" Rule name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/

Create operation of resource: rules

rulesbody object

Request Content-Types: application/json
Request Example
{      {            {                  {
                    
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }, { {
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"timeout": "integer", Timeout (time to wait for active correlation)\nin milliseconds
range: "1..600000"
units: "millisecond"
"name": "string" Rule name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/

Delete operation of resource: rules

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/

Retrieve operation of resource: rules

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {            {                  {
                    
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }, { {
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"timeout": "integer", Timeout (time to wait for active correlation)\nin milliseconds
range: "1..600000"
units: "millisecond"
"name": "string" Rule name
} ] } }

RULE - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/

Update operation of resource: rule

rulebody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {          {                {
                  
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }, { {
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"timeout": "integer", Timeout (time to wait for active correlation)\nin milliseconds
range: "1..600000"
units: "millisecond"
"name": "string" Rule name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULE - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/

Create operation of resource: rule

rulebody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {          {                {
                  
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }, { {
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"timeout": "integer", Timeout (time to wait for active correlation)\nin milliseconds
range: "1..600000"
units: "millisecond"
"name": "string" Rule name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULE - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/

Delete operation of resource: rule

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULE - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/

Retrieve operation of resource: rule

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {          {                {
                  
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }, { {
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] },
"timeout": "integer", Timeout (time to wait for active correlation)\nin milliseconds
range: "1..600000"
units: "millisecond"
"name": "string" Rule name
} ] }

ROOT-CAUSES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/

Update operation of resource: root-causes

root-causesbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {            {
              
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ROOT-CAUSES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/

Create operation of resource: root-causes

root-causesbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {            {
              
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ROOT-CAUSES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/

Delete operation of resource: root-causes

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ROOT-CAUSES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/

Retrieve operation of resource: root-causes

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {            {
              
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] } }

ROOT-CAUSE - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/

Update operation of resource: root-cause

root-causebody object

name: string
in path

ID of name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {          {
            
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ROOT-CAUSE - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/

Create operation of resource: root-cause

root-causebody object

name: string
in path

ID of name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {          {
            
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ROOT-CAUSE - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/

Delete operation of resource: root-cause

name: string
in path

ID of name

oid: string
in path

ID of oid

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ROOT-CAUSE - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/

Retrieve operation of resource: root-cause

name: string
in path

ID of name

oid: string
in path

ID of oid

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {          {
            
"oid": "string", OID of rootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of rootcause trap (dotted decimal)
"created": "null" Create rootcause
} ] }

VAR-BINDS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/

Update operation of resource: var-binds

var-bindsbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{      {
        
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BINDS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/

Create operation of resource: var-binds

var-bindsbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{      {
        
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BINDS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/

Delete operation of resource: var-binds

name: string
in path

ID of name

oid: string
in path

ID of oid

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BINDS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/

Retrieve operation of resource: var-binds

name: string
in path

ID of name

oid: string
in path

ID of oid

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] } }

VAR-BIND - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/var-bind/{oid}/

Update operation of resource: var-bind

var-bindbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {
      
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BIND - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/var-bind/{oid}/

Create operation of resource: var-bind

var-bindbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {
      
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BIND - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/var-bind/{oid}/

Delete operation of resource: var-bind

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BIND - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/var-bind/{oid}/

Retrieve operation of resource: var-bind

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] }

MATCH - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/var-bind/{oid}/match/

Update operation of resource: match

matchbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/var-bind/{oid}/match/

Create operation of resource: match

matchbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/var-bind/{oid}/match/

Delete operation of resource: match

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/root-causes/root-cause/{oid}/var-binds/var-bind/{oid}/match/

Retrieve operation of resource: match

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} }

NON-ROOT-CAUSES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/

Update operation of resource: non-root-causes

non-root-causesbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {            {
              
"oid": "string", OID of nonrootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of nonrootcause trap (dotted decimal)
"created": "null" Create nonrootcause
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NON-ROOT-CAUSES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/

Create operation of resource: non-root-causes

non-root-causesbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {            {
              
"oid": "string", OID of nonrootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of nonrootcause trap (dotted decimal)
"created": "null" Create nonrootcause
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NON-ROOT-CAUSES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/

Delete operation of resource: non-root-causes

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NON-ROOT-CAUSES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/

Retrieve operation of resource: non-root-causes

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {            {
              
"oid": "string", OID of nonrootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of nonrootcause trap (dotted decimal)
"created": "null" Create nonrootcause
} ] } }

NON-ROOT-CAUSE - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/

Update operation of resource: non-root-cause

non-root-causebody object

name: string
in path

ID of name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {          {
            
"oid": "string", OID of nonrootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of nonrootcause trap (dotted decimal)
"created": "null" Create nonrootcause
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NON-ROOT-CAUSE - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/

Create operation of resource: non-root-cause

non-root-causebody object

name: string
in path

ID of name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {          {
            
"oid": "string", OID of nonrootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of nonrootcause trap (dotted decimal)
"created": "null" Create nonrootcause
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NON-ROOT-CAUSE - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/

Delete operation of resource: non-root-cause

name: string
in path

ID of name

oid: string
in path

ID of oid

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NON-ROOT-CAUSE - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/

Retrieve operation of resource: non-root-cause

name: string
in path

ID of name

oid: string
in path

ID of oid

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {          {
            
"oid": "string", OID of nonrootcause trap (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] },
"oid": "string", OID of nonrootcause trap (dotted decimal)
"created": "null" Create nonrootcause
} ] }

VAR-BINDS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/

Update operation of resource: var-binds

var-bindsbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{      {
        
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BINDS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/

Create operation of resource: var-binds

var-bindsbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{      {
        
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BINDS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/

Delete operation of resource: var-binds

name: string
in path

ID of name

oid: string
in path

ID of oid

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BINDS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/

Retrieve operation of resource: var-binds

name: string
in path

ID of name

oid: string
in path

ID of oid

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] } }

VAR-BIND - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/var-bind/{oid}/

Update operation of resource: var-bind

var-bindbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {
      
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BIND - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/var-bind/{oid}/

Create operation of resource: var-bind

var-bindbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {
      
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BIND - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/var-bind/{oid}/

Delete operation of resource: var-bind

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VAR-BIND - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/var-bind/{oid}/

Retrieve operation of resource: var-bind

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"oid": "string", OID of varbind (dotted decimal)
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} } ] }

MATCH - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/var-bind/{oid}/match/

Update operation of resource: match

matchbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/var-bind/{oid}/match/

Create operation of resource: match

matchbody object

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/var-bind/{oid}/match/

Delete operation of resource: match

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/non-root-causes/non-root-cause/{oid}/var-binds/var-bind/{oid}/match/

Retrieve operation of resource: match

name: string
in path

ID of name

oid: string
in path

ID of oid

oid: string
in path

ID of oid

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"index": "string", Regular Expression to match index
"value": "string" Regular Expression to match value
} }

APPLIED-TO - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/

Update operation of resource: applied-to

applied-tobody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

APPLIED-TO - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/

Create operation of resource: applied-to

applied-tobody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

APPLIED-TO - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/

Delete operation of resource: applied-to

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

APPLIED-TO - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/

Retrieve operation of resource: applied-to

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } } }

HOSTS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/hosts/

Update operation of resource: hosts

hostsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOSTS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/hosts/

Create operation of resource: hosts

hostsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOSTS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/hosts/

Delete operation of resource: hosts

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOSTS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/hosts/

Retrieve operation of resource: hosts

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }

HOST - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/hosts/host/{ip-address port}/

Update operation of resource: host

hostbody object

name: string
in path

ID of name

ip-address port: string
in path

ID of ip-address port

Request Content-Types: application/json
Request Example
{    {
      
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOST - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/hosts/host/{ip-address port}/

Create operation of resource: host

hostbody object

name: string
in path

ID of name

ip-address port: string
in path

ID of ip-address port

Request Content-Types: application/json
Request Example
{    {
      
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOST - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/hosts/host/{ip-address port}/

Delete operation of resource: host

name: string
in path

ID of name

ip-address port: string
in path

ID of ip-address port

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOST - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rules/rule/{name}/applied-to/hosts/host/{ip-address port}/

Retrieve operation of resource: host

name: string
in path

ID of name

ip-address port: string
in path

ID of ip-address port

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] }

RULE-SETS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/

Update operation of resource: rule-sets

rule-setsbody object

Request Content-Types: application/json
Request Example
{      {          
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } },
"name": "string", Ruleset name
{
"rulename": "string" Rule name
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULE-SETS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/

Create operation of resource: rule-sets

rule-setsbody object

Request Content-Types: application/json
Request Example
{      {          
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } },
"name": "string", Ruleset name
{
"rulename": "string" Rule name
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULE-SETS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/

Delete operation of resource: rule-sets

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULE-SETS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/

Retrieve operation of resource: rule-sets

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {          
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } },
"name": "string", Ruleset name
{
"rulename": "string" Rule name
} ] } } ] } }

RULE-SET - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/

Update operation of resource: rule-set

rule-setbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {        
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } },
"name": "string", Ruleset name
{
"rulename": "string" Rule name
} ] } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULE-SET - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/

Create operation of resource: rule-set

rule-setbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {        
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } },
"name": "string", Ruleset name
{
"rulename": "string" Rule name
} ] } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULE-SET - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/

Delete operation of resource: rule-set

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULE-SET - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/

Retrieve operation of resource: rule-set

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {        
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } },
"name": "string", Ruleset name
{
"rulename": "string" Rule name
} ] } } ] }

RULENAMES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/rulenames/

Update operation of resource: rulenames

rulenamesbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"rulename": "string" Rule name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULENAMES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/rulenames/

Create operation of resource: rulenames

rulenamesbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"rulename": "string" Rule name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULENAMES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/rulenames/

Delete operation of resource: rulenames

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULENAMES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/rulenames/

Retrieve operation of resource: rulenames

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"rulename": "string" Rule name
} ] } }

RULENAME - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/rulenames/rulename/{rulename}/

Update operation of resource: rulename

rulenamebody object

name: string
in path

ID of name

rulename: string
in path

ID of rulename

Request Content-Types: application/json
Request Example
{    {
      
"rulename": "string" Rule name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULENAME - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/rulenames/rulename/{rulename}/

Create operation of resource: rulename

rulenamebody object

name: string
in path

ID of name

rulename: string
in path

ID of rulename

Request Content-Types: application/json
Request Example
{    {
      
"rulename": "string" Rule name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULENAME - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/rulenames/rulename/{rulename}/

Delete operation of resource: rulename

name: string
in path

ID of name

rulename: string
in path

ID of rulename

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RULENAME - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/rulenames/rulename/{rulename}/

Retrieve operation of resource: rulename

name: string
in path

ID of name

rulename: string
in path

ID of rulename

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"rulename": "string" Rule name
} ] }

APPLIED-TO - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/

Update operation of resource: applied-to

applied-tobody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

APPLIED-TO - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/

Create operation of resource: applied-to

applied-tobody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

APPLIED-TO - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/

Delete operation of resource: applied-to

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

APPLIED-TO - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/

Retrieve operation of resource: applied-to

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"all": "null", Apply to all of the device
{
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } } }

HOSTS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/hosts/

Update operation of resource: hosts

hostsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOSTS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/hosts/

Create operation of resource: hosts

hostsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOSTS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/hosts/

Delete operation of resource: hosts

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOSTS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/hosts/

Retrieve operation of resource: hosts

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] } }

HOST - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/hosts/host/{ip-address port}/

Update operation of resource: host

hostbody object

name: string
in path

ID of name

ip-address port: string
in path

ID of ip-address port

Request Content-Types: application/json
Request Example
{    {
      
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOST - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/hosts/host/{ip-address port}/

Create operation of resource: host

hostbody object

name: string
in path

ID of name

ip-address port: string
in path

ID of ip-address port

Request Content-Types: application/json
Request Example
{    {
      
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOST - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/hosts/host/{ip-address port}/

Delete operation of resource: host

name: string
in path

ID of name

ip-address port: string
in path

ID of ip-address port

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HOST - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/correlator/rule-sets/rule-set/{name}/applied-to/hosts/host/{ip-address port}/

Retrieve operation of resource: host

name: string
in path

ID of name

ip-address port: string
in path

ID of ip-address port

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"port": "string", Port (specify 162 for default)
"ip-address": "string" IP address
} ] }

BULK-STATS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/

Update operation of resource: bulk-stats

bulk-statsbody object

Request Content-Types: application/json
Request Example
{    
"memory": "integer", per process memory limit in kilo bytes
range: "100..200000"
units: "kilobyte"
{
"retry": "integer", Number of transmission retries
range: "0..100"
{
"schema-name": "string" The name of the schema
} ] },
"format": "string", Format of the bulk data file
"interval": "integer", Periodicity for the transfer of bulk data in\nminutes
units: "minute"
"primary": "string", FTP or rcp or TFTP can be used for file\ntransfer
"buffer-size": "integer", Bulkstat data file maximum size in bytes
range: "1024..2147483647"
units: "byte"
"enable": "null", Start Data Collection for this Configuration
"transfer-name": "string", Name of bulk transfer
"retain": "integer", Retention period in minutes
range: "0..20000"
units: "minute"
"type": "null", Configure schema name
"secondary": "string" FTP or rcp or TFTP can be used for file\ntransfer
} ] }, {
"object-list-name": "string", Name of the object List
{
"oid": "string" Object name or OID
} ] },
"type": "null" Configure schema name
} ] }, {
"schema-name": "string", The name of the schema
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Configure schema name
},
"type": "null", Configure schema name
"schema-object-list": "string", Name of an object List
"poll-interval": "integer" Periodicity for polling of objects in this\nschema in minutes
range: "1..20000"
units: "minute"
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BULK-STATS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/

Create operation of resource: bulk-stats

bulk-statsbody object

Request Content-Types: application/json
Request Example
{    
"memory": "integer", per process memory limit in kilo bytes
range: "100..200000"
units: "kilobyte"
{
"retry": "integer", Number of transmission retries
range: "0..100"
{
"schema-name": "string" The name of the schema
} ] },
"format": "string", Format of the bulk data file
"interval": "integer", Periodicity for the transfer of bulk data in\nminutes
units: "minute"
"primary": "string", FTP or rcp or TFTP can be used for file\ntransfer
"buffer-size": "integer", Bulkstat data file maximum size in bytes
range: "1024..2147483647"
units: "byte"
"enable": "null", Start Data Collection for this Configuration
"transfer-name": "string", Name of bulk transfer
"retain": "integer", Retention period in minutes
range: "0..20000"
units: "minute"
"type": "null", Configure schema name
"secondary": "string" FTP or rcp or TFTP can be used for file\ntransfer
} ] }, {
"object-list-name": "string", Name of the object List
{
"oid": "string" Object name or OID
} ] },
"type": "null" Configure schema name
} ] }, {
"schema-name": "string", The name of the schema
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Configure schema name
},
"type": "null", Configure schema name
"schema-object-list": "string", Name of an object List
"poll-interval": "integer" Periodicity for polling of objects in this\nschema in minutes
range: "1..20000"
units: "minute"
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BULK-STATS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/

Delete operation of resource: bulk-stats

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BULK-STATS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/

Retrieve operation of resource: bulk-stats

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"memory": "integer", per process memory limit in kilo bytes
range: "100..200000"
units: "kilobyte"
{
"retry": "integer", Number of transmission retries
range: "0..100"
{
"schema-name": "string" The name of the schema
} ] },
"format": "string", Format of the bulk data file
"interval": "integer", Periodicity for the transfer of bulk data in\nminutes
units: "minute"
"primary": "string", FTP or rcp or TFTP can be used for file\ntransfer
"buffer-size": "integer", Bulkstat data file maximum size in bytes
range: "1024..2147483647"
units: "byte"
"enable": "null", Start Data Collection for this Configuration
"transfer-name": "string", Name of bulk transfer
"retain": "integer", Retention period in minutes
range: "0..20000"
units: "minute"
"type": "null", Configure schema name
"secondary": "string" FTP or rcp or TFTP can be used for file\ntransfer
} ] }, {
"object-list-name": "string", Name of the object List
{
"oid": "string" Object name or OID
} ] },
"type": "null" Configure schema name
} ] }, {
"schema-name": "string", The name of the schema
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Configure schema name
},
"type": "null", Configure schema name
"schema-object-list": "string", Name of an object List
"poll-interval": "integer" Periodicity for polling of objects in this\nschema in minutes
range: "1..20000"
units: "minute"
} ] } } }

SCHEMAS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/

Update operation of resource: schemas

schemasbody object

Request Content-Types: application/json
Request Example
{      {
        
"schema-name": "string", The name of the schema
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Configure schema name
},
"type": "null", Configure schema name
"schema-object-list": "string", Name of an object List
"poll-interval": "integer" Periodicity for polling of objects in this\nschema in minutes
range: "1..20000"
units: "minute"
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SCHEMAS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/

Create operation of resource: schemas

schemasbody object

Request Content-Types: application/json
Request Example
{      {
        
"schema-name": "string", The name of the schema
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Configure schema name
},
"type": "null", Configure schema name
"schema-object-list": "string", Name of an object List
"poll-interval": "integer" Periodicity for polling of objects in this\nschema in minutes
range: "1..20000"
units: "minute"
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SCHEMAS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/

Delete operation of resource: schemas

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SCHEMAS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/

Retrieve operation of resource: schemas

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"schema-name": "string", The name of the schema
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Configure schema name
},
"type": "null", Configure schema name
"schema-object-list": "string", Name of an object List
"poll-interval": "integer" Periodicity for polling of objects in this\nschema in minutes
range: "1..20000"
units: "minute"
} ] } }

SCHEMA - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/schema/{schema-name}/

Update operation of resource: schema

schemabody object

schema-name: string
in path

ID of schema-name

Request Content-Types: application/json
Request Example
{    {
      
"schema-name": "string", The name of the schema
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Configure schema name
},
"type": "null", Configure schema name
"schema-object-list": "string", Name of an object List
"poll-interval": "integer" Periodicity for polling of objects in this\nschema in minutes
range: "1..20000"
units: "minute"
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SCHEMA - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/schema/{schema-name}/

Create operation of resource: schema

schemabody object

schema-name: string
in path

ID of schema-name

Request Content-Types: application/json
Request Example
{    {
      
"schema-name": "string", The name of the schema
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Configure schema name
},
"type": "null", Configure schema name
"schema-object-list": "string", Name of an object List
"poll-interval": "integer" Periodicity for polling of objects in this\nschema in minutes
range: "1..20000"
units: "minute"
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SCHEMA - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/schema/{schema-name}/

Delete operation of resource: schema

schema-name: string
in path

ID of schema-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SCHEMA - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/schema/{schema-name}/

Retrieve operation of resource: schema

schema-name: string
in path

ID of schema-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"schema-name": "string", The name of the schema
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Configure schema name
},
"type": "null", Configure schema name
"schema-object-list": "string", Name of an object List
"poll-interval": "integer" Periodicity for polling of objects in this\nschema in minutes
range: "1..20000"
units: "minute"
} ] }

INSTANCE - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/schema/{schema-name}/instance/

Update operation of resource: instance

instancebody object

schema-name: string
in path

ID of schema-name

Request Content-Types: application/json
Request Example
{    
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Type of the instance
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INSTANCE - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/schema/{schema-name}/instance/

Create operation of resource: instance

instancebody object

schema-name: string
in path

ID of schema-name

Request Content-Types: application/json
Request Example
{    
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Type of the instance
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INSTANCE - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/schema/{schema-name}/instance/

Delete operation of resource: instance

schema-name: string
in path

ID of schema-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INSTANCE - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/schemas/schema/{schema-name}/instance/

Retrieve operation of resource: instance

schema-name: string
in path

ID of schema-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"end": "string", End Instance OID for repetition
"sub-interface": "boolean", Include all the subinterface
"start": "string", Start Instance OID for repetition
"max": "integer", Max value of Instance repetition
"instance": "string", Instance of the schema
"type": "string" Type of the instance
} }

OBJECTS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/

Update operation of resource: objects

objectsbody object

Request Content-Types: application/json
Request Example
{      {
        
"oid": "string" Object name or OID
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECTS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/

Create operation of resource: objects

objectsbody object

Request Content-Types: application/json
Request Example
{      {
        
"oid": "string" Object name or OID
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECTS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/

Delete operation of resource: objects

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECTS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/

Retrieve operation of resource: objects

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"oid": "string" Object name or OID
} ] } }

OBJECT - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/

Update operation of resource: object

objectbody object

object-list-name: string
in path

ID of object-list-name

Request Content-Types: application/json
Request Example
{    {
      
"oid": "string" Object name or OID
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECT - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/

Create operation of resource: object

objectbody object

object-list-name: string
in path

ID of object-list-name

Request Content-Types: application/json
Request Example
{    {
      
"oid": "string" Object name or OID
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECT - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/

Delete operation of resource: object

object-list-name: string
in path

ID of object-list-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECT - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/

Retrieve operation of resource: object

object-list-name: string
in path

ID of object-list-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"oid": "string" Object name or OID
} ] }

OBJECTS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/objects/

Update operation of resource: objects

objectsbody object

object-list-name: string
in path

ID of object-list-name

Request Content-Types: application/json
Request Example
{      {
        
"oid": "string" Object name or OID
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECTS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/objects/

Create operation of resource: objects

objectsbody object

object-list-name: string
in path

ID of object-list-name

Request Content-Types: application/json
Request Example
{      {
        
"oid": "string" Object name or OID
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECTS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/objects/

Delete operation of resource: objects

object-list-name: string
in path

ID of object-list-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECTS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/objects/

Retrieve operation of resource: objects

object-list-name: string
in path

ID of object-list-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"oid": "string" Object name or OID
} ] } }

OBJECT - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/objects/object/{oid}/

Update operation of resource: object

objectbody object

object-list-name: string
in path

ID of object-list-name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {
      
"oid": "string" Object name or OID
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECT - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/objects/object/{oid}/

Create operation of resource: object

objectbody object

object-list-name: string
in path

ID of object-list-name

oid: string
in path

ID of oid

Request Content-Types: application/json
Request Example
{    {
      
"oid": "string" Object name or OID
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECT - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/objects/object/{oid}/

Delete operation of resource: object

object-list-name: string
in path

ID of object-list-name

oid: string
in path

ID of oid

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OBJECT - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/objects/object/{object-list-name}/objects/object/{oid}/

Retrieve operation of resource: object

object-list-name: string
in path

ID of object-list-name

oid: string
in path

ID of oid

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"oid": "string" Object name or OID
} ] }

TRANSFERS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/

Update operation of resource: transfers

transfersbody object

Request Content-Types: application/json
Request Example
{      {
        
"retry": "integer", Number of transmission retries
range: "0..100"
{
"schema-name": "string" Schema that contains objects to be\ncollected
} ] },
"format": "string", Format of the bulk data file
"interval": "integer", Periodicity for the transfer of bulk data in\nminutes
units: "minute"
"primary": "string", FTP or rcp or TFTP can be used for file\ntransfer
"buffer-size": "integer", Bulkstat data file maximum size in bytes
range: "1024..2147483647"
units: "byte"
"enable": "null", Start Data Collection for this Configuration
"transfer-name": "string", Name of bulk transfer
"retain": "integer", Retention period in minutes
range: "0..20000"
units: "minute"
"type": "null", Configure transfer list name
"secondary": "string" FTP or rcp or TFTP can be used for file\ntransfer
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFERS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/

Create operation of resource: transfers

transfersbody object

Request Content-Types: application/json
Request Example
{      {
        
"retry": "integer", Number of transmission retries
range: "0..100"
{
"schema-name": "string" Schema that contains objects to be\ncollected
} ] },
"format": "string", Format of the bulk data file
"interval": "integer", Periodicity for the transfer of bulk data in\nminutes
units: "minute"
"primary": "string", FTP or rcp or TFTP can be used for file\ntransfer
"buffer-size": "integer", Bulkstat data file maximum size in bytes
range: "1024..2147483647"
units: "byte"
"enable": "null", Start Data Collection for this Configuration
"transfer-name": "string", Name of bulk transfer
"retain": "integer", Retention period in minutes
range: "0..20000"
units: "minute"
"type": "null", Configure transfer list name
"secondary": "string" FTP or rcp or TFTP can be used for file\ntransfer
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFERS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/

Delete operation of resource: transfers

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFERS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/

Retrieve operation of resource: transfers

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"retry": "integer", Number of transmission retries
range: "0..100"
{
"schema-name": "string" Schema that contains objects to be\ncollected
} ] },
"format": "string", Format of the bulk data file
"interval": "integer", Periodicity for the transfer of bulk data in\nminutes
units: "minute"
"primary": "string", FTP or rcp or TFTP can be used for file\ntransfer
"buffer-size": "integer", Bulkstat data file maximum size in bytes
range: "1024..2147483647"
units: "byte"
"enable": "null", Start Data Collection for this Configuration
"transfer-name": "string", Name of bulk transfer
"retain": "integer", Retention period in minutes
range: "0..20000"
units: "minute"
"type": "null", Configure transfer list name
"secondary": "string" FTP or rcp or TFTP can be used for file\ntransfer
} ] } }

TRANSFER - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/

Update operation of resource: transfer

transferbody object

transfer-name: string
in path

ID of transfer-name

Request Content-Types: application/json
Request Example
{    {
      
"retry": "integer", Number of transmission retries
range: "0..100"
{
"schema-name": "string" Schema that contains objects to be\ncollected
} ] },
"format": "string", Format of the bulk data file
"interval": "integer", Periodicity for the transfer of bulk data in\nminutes
units: "minute"
"primary": "string", FTP or rcp or TFTP can be used for file\ntransfer
"buffer-size": "integer", Bulkstat data file maximum size in bytes
range: "1024..2147483647"
units: "byte"
"enable": "null", Start Data Collection for this Configuration
"transfer-name": "string", Name of bulk transfer
"retain": "integer", Retention period in minutes
range: "0..20000"
units: "minute"
"type": "null", Configure transfer list name
"secondary": "string" FTP or rcp or TFTP can be used for file\ntransfer
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFER - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/

Create operation of resource: transfer

transferbody object

transfer-name: string
in path

ID of transfer-name

Request Content-Types: application/json
Request Example
{    {
      
"retry": "integer", Number of transmission retries
range: "0..100"
{
"schema-name": "string" Schema that contains objects to be\ncollected
} ] },
"format": "string", Format of the bulk data file
"interval": "integer", Periodicity for the transfer of bulk data in\nminutes
units: "minute"
"primary": "string", FTP or rcp or TFTP can be used for file\ntransfer
"buffer-size": "integer", Bulkstat data file maximum size in bytes
range: "1024..2147483647"
units: "byte"
"enable": "null", Start Data Collection for this Configuration
"transfer-name": "string", Name of bulk transfer
"retain": "integer", Retention period in minutes
range: "0..20000"
units: "minute"
"type": "null", Configure transfer list name
"secondary": "string" FTP or rcp or TFTP can be used for file\ntransfer
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFER - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/

Delete operation of resource: transfer

transfer-name: string
in path

ID of transfer-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFER - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/

Retrieve operation of resource: transfer

transfer-name: string
in path

ID of transfer-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"retry": "integer", Number of transmission retries
range: "0..100"
{
"schema-name": "string" Schema that contains objects to be\ncollected
} ] },
"format": "string", Format of the bulk data file
"interval": "integer", Periodicity for the transfer of bulk data in\nminutes
units: "minute"
"primary": "string", FTP or rcp or TFTP can be used for file\ntransfer
"buffer-size": "integer", Bulkstat data file maximum size in bytes
range: "1024..2147483647"
units: "byte"
"enable": "null", Start Data Collection for this Configuration
"transfer-name": "string", Name of bulk transfer
"retain": "integer", Retention period in minutes
range: "0..20000"
units: "minute"
"type": "null", Configure transfer list name
"secondary": "string" FTP or rcp or TFTP can be used for file\ntransfer
} ] }

TRANSFER-SCHEMAS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/transfer-schemas/

Update operation of resource: transfer-schemas

transfer-schemasbody object

transfer-name: string
in path

ID of transfer-name

Request Content-Types: application/json
Request Example
{      {
        
"schema-name": "string" Schema that contains objects to be\ncollected
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFER-SCHEMAS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/transfer-schemas/

Create operation of resource: transfer-schemas

transfer-schemasbody object

transfer-name: string
in path

ID of transfer-name

Request Content-Types: application/json
Request Example
{      {
        
"schema-name": "string" Schema that contains objects to be\ncollected
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFER-SCHEMAS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/transfer-schemas/

Delete operation of resource: transfer-schemas

transfer-name: string
in path

ID of transfer-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFER-SCHEMAS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/transfer-schemas/

Retrieve operation of resource: transfer-schemas

transfer-name: string
in path

ID of transfer-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"schema-name": "string" Schema that contains objects to be\ncollected
} ] } }

TRANSFER-SCHEMA - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/transfer-schemas/transfer-schema/{schema-name}/

Update operation of resource: transfer-schema

transfer-schemabody object

transfer-name: string
in path

ID of transfer-name

schema-name: string
in path

ID of schema-name

Request Content-Types: application/json
Request Example
{    {
      
"schema-name": "string" Schema that contains objects to be\ncollected
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFER-SCHEMA - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/transfer-schemas/transfer-schema/{schema-name}/

Create operation of resource: transfer-schema

transfer-schemabody object

transfer-name: string
in path

ID of transfer-name

schema-name: string
in path

ID of schema-name

Request Content-Types: application/json
Request Example
{    {
      
"schema-name": "string" Schema that contains objects to be\ncollected
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFER-SCHEMA - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/transfer-schemas/transfer-schema/{schema-name}/

Delete operation of resource: transfer-schema

transfer-name: string
in path

ID of transfer-name

schema-name: string
in path

ID of schema-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRANSFER-SCHEMA - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/bulk-stats/transfers/transfer/{transfer-name}/transfer-schemas/transfer-schema/{schema-name}/

Retrieve operation of resource: transfer-schema

transfer-name: string
in path

ID of transfer-name

schema-name: string
in path

ID of schema-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"schema-name": "string" Schema that contains objects to be\ncollected
} ] }

DEFAULT-COMMUNITY-MAPS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/default-community-maps/

Update operation of resource: default-community-maps

default-community-mapsbody object

Request Content-Types: application/json
Request Example
{      {
        
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITY-MAPS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/default-community-maps/

Create operation of resource: default-community-maps

default-community-mapsbody object

Request Content-Types: application/json
Request Example
{      {
        
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITY-MAPS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/default-community-maps/

Delete operation of resource: default-community-maps

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITY-MAPS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/default-community-maps/

Retrieve operation of resource: default-community-maps

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] } }

DEFAULT-COMMUNITY-MAP - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/default-community-maps/default-community-map/{community-name}/

Update operation of resource: default-community-map

default-community-mapbody object

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    {
      
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITY-MAP - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/default-community-maps/default-community-map/{community-name}/

Create operation of resource: default-community-map

default-community-mapbody object

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    {
      
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITY-MAP - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/default-community-maps/default-community-map/{community-name}/

Delete operation of resource: default-community-map

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-COMMUNITY-MAP - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/default-community-maps/default-community-map/{community-name}/

Retrieve operation of resource: default-community-map

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"security": "string", SNMP Security Name
"community-name": "string", SNMP community map
"context": "string", SNMP Context Name
"target-list": "string" target list name
} ] }

OVERLOAD-CONTROL - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/overload-control/

Update operation of resource: overload-control

overload-controlbody object

Request Content-Types: application/json
Request Example
{    
"drop-time": "integer", Drop time in seconds for incoming queue\n(default 1 sec)
range: "0..300"
units: "second"
"throttle-rate": "integer" Throttle time in milliseconds for incoming\nqueue (default 500 msec)
range: "0..1000"
units: "millisecond"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OVERLOAD-CONTROL - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/overload-control/

Create operation of resource: overload-control

overload-controlbody object

Request Content-Types: application/json
Request Example
{    
"drop-time": "integer", Drop time in seconds for incoming queue\n(default 1 sec)
range: "0..300"
units: "second"
"throttle-rate": "integer" Throttle time in milliseconds for incoming\nqueue (default 500 msec)
range: "0..1000"
units: "millisecond"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OVERLOAD-CONTROL - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/overload-control/

Delete operation of resource: overload-control

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

OVERLOAD-CONTROL - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/overload-control/

Retrieve operation of resource: overload-control

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"drop-time": "integer", Drop time in seconds for incoming queue\n(default 1 sec)
range: "0..300"
units: "second"
"throttle-rate": "integer" Throttle time in milliseconds for incoming\nqueue (default 500 msec)
range: "0..1000"
units: "millisecond"
} }

TIMEOUTS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/timeouts/

Update operation of resource: timeouts

timeoutsbody object

Request Content-Types: application/json
Request Example
{    
"duplicates": "integer", Duplicate request feature timeout
range: "0..20"
units: "second"
default: "1"
"pdu-stats": "integer", SNMP pdu statistics timeout
range: "1..10"
units: "second"
default: "2"
"in-qdrop": "integer", incoming queue drop feature timeout
range: "0..20"
units: "second"
default: "10"
"subagent": "integer" Sub-Agent Request timeout
range: "1..20"
units: "second"
default: "10"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TIMEOUTS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/timeouts/

Create operation of resource: timeouts

timeoutsbody object

Request Content-Types: application/json
Request Example
{    
"duplicates": "integer", Duplicate request feature timeout
range: "0..20"
units: "second"
default: "1"
"pdu-stats": "integer", SNMP pdu statistics timeout
range: "1..10"
units: "second"
default: "2"
"in-qdrop": "integer", incoming queue drop feature timeout
range: "0..20"
units: "second"
default: "10"
"subagent": "integer" Sub-Agent Request timeout
range: "1..20"
units: "second"
default: "10"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TIMEOUTS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/timeouts/

Delete operation of resource: timeouts

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TIMEOUTS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/timeouts/

Retrieve operation of resource: timeouts

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"duplicates": "integer", Duplicate request feature timeout
range: "0..20"
units: "second"
default: "1"
"pdu-stats": "integer", SNMP pdu statistics timeout
range: "1..10"
units: "second"
default: "2"
"in-qdrop": "integer", incoming queue drop feature timeout
range: "0..20"
units: "second"
default: "10"
"subagent": "integer" Sub-Agent Request timeout
range: "1..20"
units: "second"
default: "10"
} }

USERS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/users/

Update operation of resource: users

usersbody object

Request Content-Types: application/json
Request Example
{      {
        
"v6acl-type": "string", Access-list type
"group-name": "string", Group to which the user belongs
"v6-access-list": "string", Ipv6 Access-list name
"priv-algorithm": "string", The algorithm used des56 or aes128 or aes192or\naes256 or 3des
"owner": "string", The system access either SDROwner or\nSystemOwner
"v4acl-type": "string", Access-list type
"privacy-password": "string", The privacy password
"remote-address": "string", IP address of remote SNMP entity
"port": "string", UDP port number
"user-name": "string", Name of the user
"algorithm": "string", The algorithm used md5 or sha
"privacy-password-configured": "null", Flag to indicate that the privacy password is\nconfigured for version 3
"authentication-password": "string", The authentication password
"version": "string", SNMP version to be used. v1,v2c or v3
"v4-access-list": "string", Ipv4 Access-list name
"authentication-password-configured": "null" Flag to indicate that authentication password\nis configred for version 3
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

USERS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/users/

Create operation of resource: users

usersbody object

Request Content-Types: application/json
Request Example
{      {
        
"v6acl-type": "string", Access-list type
"group-name": "string", Group to which the user belongs
"v6-access-list": "string", Ipv6 Access-list name
"priv-algorithm": "string", The algorithm used des56 or aes128 or aes192or\naes256 or 3des
"owner": "string", The system access either SDROwner or\nSystemOwner
"v4acl-type": "string", Access-list type
"privacy-password": "string", The privacy password
"remote-address": "string", IP address of remote SNMP entity
"port": "string", UDP port number
"user-name": "string", Name of the user
"algorithm": "string", The algorithm used md5 or sha
"privacy-password-configured": "null", Flag to indicate that the privacy password is\nconfigured for version 3
"authentication-password": "string", The authentication password
"version": "string", SNMP version to be used. v1,v2c or v3
"v4-access-list": "string", Ipv4 Access-list name
"authentication-password-configured": "null" Flag to indicate that authentication password\nis configred for version 3
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

USERS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/users/

Delete operation of resource: users

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

USERS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/users/

Retrieve operation of resource: users

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"v6acl-type": "string", Access-list type
"group-name": "string", Group to which the user belongs
"v6-access-list": "string", Ipv6 Access-list name
"priv-algorithm": "string", The algorithm used des56 or aes128 or aes192or\naes256 or 3des
"owner": "string", The system access either SDROwner or\nSystemOwner
"v4acl-type": "string", Access-list type
"privacy-password": "string", The privacy password
"remote-address": "string", IP address of remote SNMP entity
"port": "string", UDP port number
"user-name": "string", Name of the user
"algorithm": "string", The algorithm used md5 or sha
"privacy-password-configured": "null", Flag to indicate that the privacy password is\nconfigured for version 3
"authentication-password": "string", The authentication password
"version": "string", SNMP version to be used. v1,v2c or v3
"v4-access-list": "string", Ipv4 Access-list name
"authentication-password-configured": "null" Flag to indicate that authentication password\nis configred for version 3
} ] } }

USER - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/users/user/{user-name}/

Update operation of resource: user

userbody object

user-name: string
in path

ID of user-name

Request Content-Types: application/json
Request Example
{    {
      
"v6acl-type": "string", Access-list type
"group-name": "string", Group to which the user belongs
"v6-access-list": "string", Ipv6 Access-list name
"priv-algorithm": "string", The algorithm used des56 or aes128 or aes192or\naes256 or 3des
"owner": "string", The system access either SDROwner or\nSystemOwner
"v4acl-type": "string", Access-list type
"privacy-password": "string", The privacy password
"remote-address": "string", IP address of remote SNMP entity
"port": "string", UDP port number
"user-name": "string", Name of the user
"algorithm": "string", The algorithm used md5 or sha
"privacy-password-configured": "null", Flag to indicate that the privacy password is\nconfigured for version 3
"authentication-password": "string", The authentication password
"version": "string", SNMP version to be used. v1,v2c or v3
"v4-access-list": "string", Ipv4 Access-list name
"authentication-password-configured": "null" Flag to indicate that authentication password\nis configred for version 3
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

USER - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/users/user/{user-name}/

Create operation of resource: user

userbody object

user-name: string
in path

ID of user-name

Request Content-Types: application/json
Request Example
{    {
      
"v6acl-type": "string", Access-list type
"group-name": "string", Group to which the user belongs
"v6-access-list": "string", Ipv6 Access-list name
"priv-algorithm": "string", The algorithm used des56 or aes128 or aes192or\naes256 or 3des
"owner": "string", The system access either SDROwner or\nSystemOwner
"v4acl-type": "string", Access-list type
"privacy-password": "string", The privacy password
"remote-address": "string", IP address of remote SNMP entity
"port": "string", UDP port number
"user-name": "string", Name of the user
"algorithm": "string", The algorithm used md5 or sha
"privacy-password-configured": "null", Flag to indicate that the privacy password is\nconfigured for version 3
"authentication-password": "string", The authentication password
"version": "string", SNMP version to be used. v1,v2c or v3
"v4-access-list": "string", Ipv4 Access-list name
"authentication-password-configured": "null" Flag to indicate that authentication password\nis configred for version 3
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

USER - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/users/user/{user-name}/

Delete operation of resource: user

user-name: string
in path

ID of user-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

USER - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/users/user/{user-name}/

Retrieve operation of resource: user

user-name: string
in path

ID of user-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"v6acl-type": "string", Access-list type
"group-name": "string", Group to which the user belongs
"v6-access-list": "string", Ipv6 Access-list name
"priv-algorithm": "string", The algorithm used des56 or aes128 or aes192or\naes256 or 3des
"owner": "string", The system access either SDROwner or\nSystemOwner
"v4acl-type": "string", Access-list type
"privacy-password": "string", The privacy password
"remote-address": "string", IP address of remote SNMP entity
"port": "string", UDP port number
"user-name": "string", Name of the user
"algorithm": "string", The algorithm used md5 or sha
"privacy-password-configured": "null", Flag to indicate that the privacy password is\nconfigured for version 3
"authentication-password": "string", The authentication password
"version": "string", SNMP version to be used. v1,v2c or v3
"v4-access-list": "string", Ipv4 Access-list name
"authentication-password-configured": "null" Flag to indicate that authentication password\nis configred for version 3
} ] }

VRFS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/

Update operation of resource: vrfs

vrfsbody object

Request Content-Types: application/json
Request Example
{      {            {
              
"context-name": "string" Context Name
} ] }, { {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] },
"name": "string", VRF name
{
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRFS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/

Create operation of resource: vrfs

vrfsbody object

Request Content-Types: application/json
Request Example
{      {            {
              
"context-name": "string" Context Name
} ] }, { {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] },
"name": "string", VRF name
{
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRFS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/

Delete operation of resource: vrfs

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRFS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/

Retrieve operation of resource: vrfs

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {            {
              
"context-name": "string" Context Name
} ] }, { {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] },
"name": "string", VRF name
{
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } } ] } }

VRF - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/

Update operation of resource: vrf

vrfbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {          {
            
"context-name": "string" Context Name
} ] }, { {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] },
"name": "string", VRF name
{
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRF - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/

Create operation of resource: vrf

vrfbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {          {
            
"context-name": "string" Context Name
} ] }, { {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] },
"name": "string", VRF name
{
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRF - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/

Delete operation of resource: vrf

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VRF - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/

Retrieve operation of resource: vrf

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {          {
            
"context-name": "string" Context Name
} ] }, { {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] },
"name": "string", VRF name
{
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } } ] }

TRAP-HOSTS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/

Update operation of resource: trap-hosts

trap-hostsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {            {
              
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOSTS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/

Create operation of resource: trap-hosts

trap-hostsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {            {
              
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOSTS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/

Delete operation of resource: trap-hosts

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOSTS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/

Retrieve operation of resource: trap-hosts

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {            {
              
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] } }

TRAP-HOST - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/

Update operation of resource: trap-host

trap-hostbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{    {          {
            
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOST - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/

Create operation of resource: trap-host

trap-hostbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{    {          {
            
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOST - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/

Delete operation of resource: trap-host

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOST - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/

Retrieve operation of resource: trap-host

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {          {
            
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] }

ENCRYPTED-USER-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/

Update operation of resource: encrypted-user-communities

encrypted-user-communitiesbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/

Create operation of resource: encrypted-user-communities

encrypted-user-communitiesbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/

Delete operation of resource: encrypted-user-communities

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/

Retrieve operation of resource: encrypted-user-communities

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }

ENCRYPTED-USER-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/encrypted-user-community/{community-name}/

Update operation of resource: encrypted-user-community

encrypted-user-communitybody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/encrypted-user-community/{community-name}/

Create operation of resource: encrypted-user-community

encrypted-user-communitybody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/encrypted-user-community/{community-name}/

Delete operation of resource: encrypted-user-community

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/encrypted-user-community/{community-name}/

Retrieve operation of resource: encrypted-user-community

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }

INFORM-HOST - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/

Update operation of resource: inform-host

inform-hostbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{        {
          
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-HOST - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/

Create operation of resource: inform-host

inform-hostbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{        {
          
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-HOST - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/

Delete operation of resource: inform-host

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-HOST - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/

Retrieve operation of resource: inform-host

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {
          
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } }

INFORM-USER-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/

Update operation of resource: inform-user-communities

inform-user-communitiesbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/

Create operation of resource: inform-user-communities

inform-user-communitiesbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/

Delete operation of resource: inform-user-communities

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/

Retrieve operation of resource: inform-user-communities

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }

INFORM-USER-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/inform-user-community/{community-name}/

Update operation of resource: inform-user-community

inform-user-communitybody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/inform-user-community/{community-name}/

Create operation of resource: inform-user-community

inform-user-communitybody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/inform-user-community/{community-name}/

Delete operation of resource: inform-user-community

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/inform-user-community/{community-name}/

Retrieve operation of resource: inform-user-community

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }

INFORM-ENCRYPTED-USER-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/

Update operation of resource: inform-encrypted-user-communities

inform-encrypted-user-communitiesbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/

Create operation of resource: inform-encrypted-user-communities

inform-encrypted-user-communitiesbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/

Delete operation of resource: inform-encrypted-user-communities

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/

Retrieve operation of resource: inform-encrypted-user-communities

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }

INFORM-ENCRYPTED-USER-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/inform-encrypted-user-community/{community-name}/

Update operation of resource: inform-encrypted-user-community

inform-encrypted-user-communitybody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/inform-encrypted-user-community/{community-name}/

Create operation of resource: inform-encrypted-user-community

inform-encrypted-user-communitybody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/inform-encrypted-user-community/{community-name}/

Delete operation of resource: inform-encrypted-user-community

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/inform-encrypted-user-community/{community-name}/

Retrieve operation of resource: inform-encrypted-user-community

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }

DEFAULT-USER-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/default-user-communities/

Update operation of resource: default-user-communities

default-user-communitiesbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/default-user-communities/

Create operation of resource: default-user-communities

default-user-communitiesbody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/default-user-communities/

Delete operation of resource: default-user-communities

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/default-user-communities/

Retrieve operation of resource: default-user-communities

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }

DEFAULT-USER-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/default-user-communities/default-user-community/{community-name}/

Update operation of resource: default-user-community

default-user-communitybody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/default-user-communities/default-user-community/{community-name}/

Create operation of resource: default-user-community

default-user-communitybody object

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/default-user-communities/default-user-community/{community-name}/

Delete operation of resource: default-user-community

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/trap-hosts/trap-host/{ip-address}/default-user-communities/default-user-community/{community-name}/

Retrieve operation of resource: default-user-community

name: string
in path

ID of name

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }

CONTEXTS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/contexts/

Update operation of resource: contexts

contextsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"context-name": "string" Context Name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXTS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/contexts/

Create operation of resource: contexts

contextsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"context-name": "string" Context Name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXTS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/contexts/

Delete operation of resource: contexts

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXTS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/contexts/

Retrieve operation of resource: contexts

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"context-name": "string" Context Name
} ] } }

CONTEXT - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/contexts/context/{context-name}/

Update operation of resource: context

contextbody object

name: string
in path

ID of name

context-name: string
in path

ID of context-name

Request Content-Types: application/json
Request Example
{    {
      
"context-name": "string" Context Name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/contexts/context/{context-name}/

Create operation of resource: context

contextbody object

name: string
in path

ID of name

context-name: string
in path

ID of context-name

Request Content-Types: application/json
Request Example
{    {
      
"context-name": "string" Context Name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/contexts/context/{context-name}/

Delete operation of resource: context

name: string
in path

ID of name

context-name: string
in path

ID of context-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/contexts/context/{context-name}/

Retrieve operation of resource: context

name: string
in path

ID of name

context-name: string
in path

ID of context-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"context-name": "string" Context Name
} ] }

CONTEXT-MAPPINGS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/context-mappings/

Update operation of resource: context-mappings

context-mappingsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPINGS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/context-mappings/

Create operation of resource: context-mappings

context-mappingsbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{      {
        
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPINGS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/context-mappings/

Delete operation of resource: context-mappings

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPINGS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/context-mappings/

Retrieve operation of resource: context-mappings

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } }

CONTEXT-MAPPING - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/context-mappings/context-mapping/{context-mapping-name}/

Update operation of resource: context-mapping

context-mappingbody object

name: string
in path

ID of name

context-mapping-name: string
in path

ID of context-mapping-name

Request Content-Types: application/json
Request Example
{    {
      
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPING - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/context-mappings/context-mapping/{context-mapping-name}/

Create operation of resource: context-mapping

context-mappingbody object

name: string
in path

ID of name

context-mapping-name: string
in path

ID of context-mapping-name

Request Content-Types: application/json
Request Example
{    {
      
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPING - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/context-mappings/context-mapping/{context-mapping-name}/

Delete operation of resource: context-mapping

name: string
in path

ID of name

context-mapping-name: string
in path

ID of context-mapping-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPING - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/vrfs/vrf/{name}/context-mappings/context-mapping/{context-mapping-name}/

Retrieve operation of resource: context-mapping

name: string
in path

ID of name

context-mapping-name: string
in path

ID of context-mapping-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] }

GROUPS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/groups/

Update operation of resource: groups

groupsbody object

Request Content-Types: application/json
Request Example
{      {
        
"name": "string", Name of the group
"write-view": "string", write view name
"snmp-version": "string", snmp version
"context-name": "string", Context name
"security-model": "string", security model like auth/noAuth/Priv\napplicable for v3
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"read-view": "string", read view name
"v4acl-type": "string", Access-list type
"v4-access-list": "string", Ipv4 Access-list name
"notify-view": "string" notify view name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

GROUPS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/groups/

Create operation of resource: groups

groupsbody object

Request Content-Types: application/json
Request Example
{      {
        
"name": "string", Name of the group
"write-view": "string", write view name
"snmp-version": "string", snmp version
"context-name": "string", Context name
"security-model": "string", security model like auth/noAuth/Priv\napplicable for v3
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"read-view": "string", read view name
"v4acl-type": "string", Access-list type
"v4-access-list": "string", Ipv4 Access-list name
"notify-view": "string" notify view name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

GROUPS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/groups/

Delete operation of resource: groups

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

GROUPS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/groups/

Retrieve operation of resource: groups

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"name": "string", Name of the group
"write-view": "string", write view name
"snmp-version": "string", snmp version
"context-name": "string", Context name
"security-model": "string", security model like auth/noAuth/Priv\napplicable for v3
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"read-view": "string", read view name
"v4acl-type": "string", Access-list type
"v4-access-list": "string", Ipv4 Access-list name
"notify-view": "string" notify view name
} ] } }

GROUP - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/groups/group/{name}/

Update operation of resource: group

groupbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {
      
"name": "string", Name of the group
"write-view": "string", write view name
"snmp-version": "string", snmp version
"context-name": "string", Context name
"security-model": "string", security model like auth/noAuth/Priv\napplicable for v3
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"read-view": "string", read view name
"v4acl-type": "string", Access-list type
"v4-access-list": "string", Ipv4 Access-list name
"notify-view": "string" notify view name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

GROUP - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/groups/group/{name}/

Create operation of resource: group

groupbody object

name: string
in path

ID of name

Request Content-Types: application/json
Request Example
{    {
      
"name": "string", Name of the group
"write-view": "string", write view name
"snmp-version": "string", snmp version
"context-name": "string", Context name
"security-model": "string", security model like auth/noAuth/Priv\napplicable for v3
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"read-view": "string", read view name
"v4acl-type": "string", Access-list type
"v4-access-list": "string", Ipv4 Access-list name
"notify-view": "string" notify view name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

GROUP - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/groups/group/{name}/

Delete operation of resource: group

name: string
in path

ID of name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

GROUP - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/groups/group/{name}/

Retrieve operation of resource: group

name: string
in path

ID of name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"name": "string", Name of the group
"write-view": "string", write view name
"snmp-version": "string", snmp version
"context-name": "string", Context name
"security-model": "string", security model like auth/noAuth/Priv\napplicable for v3
"v6acl-type": "string", Access-list type
"v6-access-list": "string", Ipv6 Access-list name
"read-view": "string", read view name
"v4acl-type": "string", Access-list type
"v4-access-list": "string", Ipv4 Access-list name
"notify-view": "string" notify view name
} ] }

TRAP-HOSTS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/

Update operation of resource: trap-hosts

trap-hostsbody object

Request Content-Types: application/json
Request Example
{      {            {
              
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOSTS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/

Create operation of resource: trap-hosts

trap-hostsbody object

Request Content-Types: application/json
Request Example
{      {            {
              
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOSTS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/

Delete operation of resource: trap-hosts

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOSTS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/

Retrieve operation of resource: trap-hosts

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {            {
              
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] } }

TRAP-HOST - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/

Update operation of resource: trap-host

trap-hostbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{    {          {
            
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOST - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/

Create operation of resource: trap-host

trap-hostbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{    {          {
            
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOST - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/

Delete operation of resource: trap-host

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRAP-HOST - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/

Retrieve operation of resource: trap-host

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {          {
            
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } },
"ip-address": "string", IP address of SNMP notification host
{
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } ] }

ENCRYPTED-USER-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/

Update operation of resource: encrypted-user-communities

encrypted-user-communitiesbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/

Create operation of resource: encrypted-user-communities

encrypted-user-communitiesbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/

Delete operation of resource: encrypted-user-communities

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/

Retrieve operation of resource: encrypted-user-communities

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }

ENCRYPTED-USER-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/encrypted-user-community/{community-name}/

Update operation of resource: encrypted-user-community

encrypted-user-communitybody object

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/encrypted-user-community/{community-name}/

Create operation of resource: encrypted-user-community

encrypted-user-communitybody object

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/encrypted-user-community/{community-name}/

Delete operation of resource: encrypted-user-community

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ENCRYPTED-USER-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/encrypted-user-communities/encrypted-user-community/{community-name}/

Retrieve operation of resource: encrypted-user-community

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }

INFORM-HOST - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/

Update operation of resource: inform-host

inform-hostbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{        {
          
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-HOST - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/

Create operation of resource: inform-host

inform-hostbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{        {
          
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-HOST - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/

Delete operation of resource: inform-host

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-HOST - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/

Retrieve operation of resource: inform-host

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {
          
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] }, {
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } } }

INFORM-USER-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/

Update operation of resource: inform-user-communities

inform-user-communitiesbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/

Create operation of resource: inform-user-communities

inform-user-communitiesbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/

Delete operation of resource: inform-user-communities

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/

Retrieve operation of resource: inform-user-communities

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }

INFORM-USER-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/inform-user-community/{community-name}/

Update operation of resource: inform-user-community

inform-user-communitybody object

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/inform-user-community/{community-name}/

Create operation of resource: inform-user-community

inform-user-communitybody object

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/inform-user-community/{community-name}/

Delete operation of resource: inform-user-community

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-USER-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-user-communities/inform-user-community/{community-name}/

Retrieve operation of resource: inform-user-community

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }

INFORM-ENCRYPTED-USER-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/

Update operation of resource: inform-encrypted-user-communities

inform-encrypted-user-communitiesbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/

Create operation of resource: inform-encrypted-user-communities

inform-encrypted-user-communitiesbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/

Delete operation of resource: inform-encrypted-user-communities

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/

Retrieve operation of resource: inform-encrypted-user-communities

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }

INFORM-ENCRYPTED-USER-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/inform-encrypted-user-community/{community-name}/

Update operation of resource: inform-encrypted-user-community

inform-encrypted-user-communitybody object

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/inform-encrypted-user-community/{community-name}/

Create operation of resource: inform-encrypted-user-community

inform-encrypted-user-communitybody object

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/inform-encrypted-user-community/{community-name}/

Delete operation of resource: inform-encrypted-user-community

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

INFORM-ENCRYPTED-USER-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/inform-host/inform-encrypted-user-communities/inform-encrypted-user-community/{community-name}/

Retrieve operation of resource: inform-encrypted-user-community

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v2c/v3
"community-name": "string", SNMPv2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this\nvalue to an integer corresponding to the\ntrapBGP 8192, CONFIG 4096,SYSLOG 131072\n,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide\na combination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set\nas 0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }

DEFAULT-USER-COMMUNITIES - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/default-user-communities/

Update operation of resource: default-user-communities

default-user-communitiesbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITIES - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/default-user-communities/

Create operation of resource: default-user-communities

default-user-communitiesbody object

ip-address: string
in path

ID of ip-address

Request Content-Types: application/json
Request Example
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITIES - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/default-user-communities/

Delete operation of resource: default-user-communities

ip-address: string
in path

ID of ip-address

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITIES - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/default-user-communities/

Retrieve operation of resource: default-user-communities

ip-address: string
in path

ID of ip-address

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} ] } }

DEFAULT-USER-COMMUNITY - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/default-user-communities/default-user-community/{community-name}/

Update operation of resource: default-user-community

default-user-communitybody object

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITY - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/default-user-communities/default-user-community/{community-name}/

Create operation of resource: default-user-community

default-user-communitybody object

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Request Content-Types: application/json
Request Example
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITY - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/default-user-communities/default-user-community/{community-name}/

Delete operation of resource: default-user-community

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEFAULT-USER-COMMUNITY - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/trap-hosts/trap-host/{ip-address}/default-user-communities/default-user-community/{community-name}/

Retrieve operation of resource: default-user-community

ip-address: string
in path

ID of ip-address

community-name: string
in path

ID of community-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"port": "string", UDP port number
"version": "string", SNMP Version to be used v1/v2c/v3
"community-name": "string", SNMPv1/v2c community string or SNMPv3 user
"basic-trap-types": "integer", Number to signify the feature traps that\nneeds to be setBasicTrapTypes is used for\nall traps except copy-completeSet this value\nto an integer corresponding to the trapBGP\n8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP\n1COPY_COMPLETE_TRAP 64To provide a\ncombination of trap Add the respective\nnumbersValue must be set to 0 for all traps
"advanced-trap-types2": "integer", Number to signify the feature traps that\nneeds to be setvalue should always to set as\n0
"security-level": "string", Security level to be used noauth/auth/priv
"advanced-trap-types1": "integer" Number to signify the feature traps that\nneeds to be setUse this for providing\ncopy-complete trapValue must be set to 0 if\nnot used
} }

CONTEXTS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/contexts/

Update operation of resource: contexts

contextsbody object

Request Content-Types: application/json
Request Example
{      {
        
"context-name": "string" Context Name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXTS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/contexts/

Create operation of resource: contexts

contextsbody object

Request Content-Types: application/json
Request Example
{      {
        
"context-name": "string" Context Name
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXTS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/contexts/

Delete operation of resource: contexts

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXTS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/contexts/

Retrieve operation of resource: contexts

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"context-name": "string" Context Name
} ] } }

CONTEXT - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/contexts/context/{context-name}/

Update operation of resource: context

contextbody object

context-name: string
in path

ID of context-name

Request Content-Types: application/json
Request Example
{    {
      
"context-name": "string" Context Name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/contexts/context/{context-name}/

Create operation of resource: context

contextbody object

context-name: string
in path

ID of context-name

Request Content-Types: application/json
Request Example
{    {
      
"context-name": "string" Context Name
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/contexts/context/{context-name}/

Delete operation of resource: context

context-name: string
in path

ID of context-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/contexts/context/{context-name}/

Retrieve operation of resource: context

context-name: string
in path

ID of context-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"context-name": "string" Context Name
} ] }

CONTEXT-MAPPINGS - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/context-mappings/

Update operation of resource: context-mappings

context-mappingsbody object

Request Content-Types: application/json
Request Example
{      {
        
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPINGS - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/context-mappings/

Create operation of resource: context-mappings

context-mappingsbody object

Request Content-Types: application/json
Request Example
{      {
        
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPINGS - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/context-mappings/

Delete operation of resource: context-mappings

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPINGS - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/context-mappings/

Retrieve operation of resource: context-mappings

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] } }

CONTEXT-MAPPING - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:snmp/context-mappings/context-mapping/{context-mapping-name}/

Update operation of resource: context-mapping

context-mappingbody object

context-mapping-name: string
in path

ID of context-mapping-name

Request Content-Types: application/json
Request Example
{    {
      
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPING - Create

POST Cisco-IOS-XR-snmp-agent-cfg:snmp/context-mappings/context-mapping/{context-mapping-name}/

Create operation of resource: context-mapping

context-mappingbody object

context-mapping-name: string
in path

ID of context-mapping-name

Request Content-Types: application/json
Request Example
{    {
      
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPING - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:snmp/context-mappings/context-mapping/{context-mapping-name}/

Delete operation of resource: context-mapping

context-mapping-name: string
in path

ID of context-mapping-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONTEXT-MAPPING - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:snmp/context-mappings/context-mapping/{context-mapping-name}/

Retrieve operation of resource: context-mapping

context-mapping-name: string
in path

ID of context-mapping-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"context-mapping-name": "string", Context mapping name
"vrf-name": "string", VRF name associated with the context
"topology-name": "string", Topology name associated with the context
"context": "string", SNMP context feature type
"instance-name": "string" OSPF protocol instance
} ] }

MIB - Update

PUT Cisco-IOS-XR-snmp-agent-cfg:mib/

Update operation of resource: mib

mibbody object

Request Content-Types: application/json
Request Example
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MIB - Create

POST Cisco-IOS-XR-snmp-agent-cfg:mib/

Create operation of resource: mib

mibbody object

Request Content-Types: application/json
Request Example
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MIB - Delete

DELETE Cisco-IOS-XR-snmp-agent-cfg:mib/

Delete operation of resource: mib

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MIB - Retrieve

GET Cisco-IOS-XR-snmp-agent-cfg:mib/

Retrieve operation of resource: mib

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)

SLA - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/

Update operation of resource: sla

slabody object

Request Content-Types: application/json
Request Example
{            {                  {                      
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } } } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/

Create operation of resource: sla

slabody object

Request Content-Types: application/json
Request Example
{            {                  {                      
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } } } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/

Delete operation of resource: sla

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SLA - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/

Retrieve operation of resource: sla

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{            {                  {                      
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } } } } }

PROTOCOLS - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/

Update operation of resource: protocols

protocolsbody object

Request Content-Types: application/json
Request Example
{          {                {                    
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROTOCOLS - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/

Create operation of resource: protocols

protocolsbody object

Request Content-Types: application/json
Request Example
{          {                {                    
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROTOCOLS - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/

Delete operation of resource: protocols

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROTOCOLS - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/

Retrieve operation of resource: protocols

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{          {                {                    
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } } } }

ETHERNET - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/

Update operation of resource: ethernet

ethernetbody object

Request Content-Types: application/json
Request Example
{        {              {                  
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/

Create operation of resource: ethernet

ethernetbody object

Request Content-Types: application/json
Request Example
{        {              {                  
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/

Delete operation of resource: ethernet

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ETHERNET - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/

Retrieve operation of resource: ethernet

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {              {                  
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } } }

PROFILES - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/

Update operation of resource: profiles

profilesbody object

Request Content-Types: application/json
Request Example
{      {            {                
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROFILES - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/

Create operation of resource: profiles

profilesbody object

Request Content-Types: application/json
Request Example
{      {            {                
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROFILES - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/

Delete operation of resource: profiles

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROFILES - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/

Retrieve operation of resource: profiles

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {            {                
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] } }

PROFILE - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/

Update operation of resource: profile

profilebody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    {          {              
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROFILE - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/

Create operation of resource: profile

profilebody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    {          {              
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROFILE - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/

Delete operation of resource: profile

profile-name: string
in path

ID of profile-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROFILE - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/

Retrieve operation of resource: profile

profile-name: string
in path

ID of profile-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {          {              
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] },
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
},
"profile-name": "string", Profile name
"packet-type": "string", The possible packet types are cfm-loopback,\ncfm-delay-measurement,\ncfm-delay-measurement-version-0,\ncfm-loss-measurement and\ncfm-synthetic-loss-measurement
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} } ] }

STATISTICS - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/

Update operation of resource: statistics

statisticsbody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{      {          
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

STATISTICS - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/

Create operation of resource: statistics

statisticsbody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{      {          
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

STATISTICS - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/

Delete operation of resource: statistics

profile-name: string
in path

ID of profile-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

STATISTICS - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/

Retrieve operation of resource: statistics

profile-name: string
in path

ID of profile-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {          
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] } }

STATISTIC - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/

Update operation of resource: statistic

statisticbody object

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

Request Content-Types: application/json
Request Example
{    {        
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

STATISTIC - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/

Create operation of resource: statistic

statisticbody object

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

Request Content-Types: application/json
Request Example
{    {        
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

STATISTIC - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/

Delete operation of resource: statistic

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

STATISTIC - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/

Retrieve operation of resource: statistic

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {        
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
},
"enable": "null", Enable statistic gathering of the metric
"buckets-archive": "integer", Number of buckets to archive in memory
range: "1..100"
"statistic-name": "string", The type of statistic to measure
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} } ] }

BUCKETS-SIZE - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/buckets-size/

Update operation of resource: buckets-size

buckets-sizebody object

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

Request Content-Types: application/json
Request Example
{    
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BUCKETS-SIZE - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/buckets-size/

Create operation of resource: buckets-size

buckets-sizebody object

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

Request Content-Types: application/json
Request Example
{    
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BUCKETS-SIZE - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/buckets-size/

Delete operation of resource: buckets-size

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BUCKETS-SIZE - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/buckets-size/

Retrieve operation of resource: buckets-size

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"buckets-size": "integer", Size of each bucket
range: "1..100"
"buckets-size-unit": "string" Unit associated with the BucketsSize
} }

AGGREGATION - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/aggregation/

Update operation of resource: aggregation

aggregationbody object

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

Request Content-Types: application/json
Request Example
{    
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AGGREGATION - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/aggregation/

Create operation of resource: aggregation

aggregationbody object

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

Request Content-Types: application/json
Request Example
{    
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AGGREGATION - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/aggregation/

Delete operation of resource: aggregation

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AGGREGATION - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/statistics/statistic/{statistic-name}/aggregation/

Retrieve operation of resource: aggregation

profile-name: string
in path

ID of profile-name

statistic-name: string
in path

ID of statistic-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"bins-count": "integer", Number of bins to aggregate results into\n(0 for no aggregation)
range: "0..100"
"bins-width": "integer", Width of each bin
range: "1..10000"
"bins-width-tenths": "integer" Tenths portion of the bin width
range: "0..9"
} }

SCHEDULE - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/schedule/

Update operation of resource: schedule

schedulebody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SCHEDULE - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/schedule/

Create operation of resource: schedule

schedulebody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SCHEDULE - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/schedule/

Delete operation of resource: schedule

profile-name: string
in path

ID of profile-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SCHEDULE - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/schedule/

Retrieve operation of resource: schedule

profile-name: string
in path

ID of profile-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"probe-duration": "integer", Duration of each probe. This must be\nspecified if, and only if, ProbeDurationUnit\nis specified.
range: "1..3600"
"probe-interval": "integer", Interval between probes. This must be\nspecified if, and only if, ProbeIntervalUnit\nis not 'Week' or 'Day'.
range: "1..90"
"probe-duration-unit": "string", Time unit associated with the ProbeDuration.\nThe value must not be 'Once'.
"start-time-hour": "integer", Time after midnight (in UTC) to send the\nfirst packet each day.
range: "0..23"
"probe-interval-unit": "string", Time unit associated with the ProbeInterval.\nThe value must not be 'Once'. If 'Week' or\n'Day' is specified, probes are scheduled\nweekly or daily respectively.
"start-time-minute": "integer", Time after midnight (in UTC) to send the\nfirst packet each day. This must be\nspecified if, and only if, StartTimeHour is\nspecified.
range: "0..59"
"probe-interval-day": "string", Day of week on which to schedule probes. \nThis must be specified if, and only if,\nProbeIntervalUnit is 'Week'.
"start-time-second": "integer" Time after midnight (in UTC) to send the\nfirst packet each day. This must only be\nspecified if StartTimeHour is specified, and\nmust not be specified if ProbeIntervalUnit\nis 'Week' or 'Day'.
range: "0..59"
} }

PROBE - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/

Update operation of resource: probe

probebody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROBE - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/

Create operation of resource: probe

probebody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROBE - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/

Delete operation of resource: probe

profile-name: string
in path

ID of profile-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PROBE - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/

Retrieve operation of resource: probe

profile-name: string
in path

ID of profile-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"priority": "integer", Priority class to assign to outgoing SLA\npackets
range: "0..7"
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
},
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
},
"synthetic-loss-calculation-packets": "integer" Number of packets to use in each FLR\ncalculation
range: "10..12096000"
} }

SEND - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/send/

Update operation of resource: send

sendbody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SEND - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/send/

Create operation of resource: send

sendbody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SEND - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/send/

Delete operation of resource: send

profile-name: string
in path

ID of profile-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SEND - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/send/

Retrieve operation of resource: send

profile-name: string
in path

ID of profile-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"burst-interval-unit": "string", Time unit associated with the BurstInterval\n. This must be specified if, and only if,\nSendType is 'Burst'.
"send-type": "string", The packet distribution: single packets or\nbursts of packets. If 'Burst' is specified\n, PacketCount and BurstInterval must be\nspecified.
"packet-interval": "integer", Interval between packets. This must be\nspecified if, and only if,\nPacketIntervalUnit is not 'Once'.
range: "1..30000"
"burst-interval": "integer", Interval between bursts. This must be\nspecified if, and only if, the SendType is\n'Burst' and the 'BurstIntervalUnit' is not\n'Once'.
range: "1..3600"
"packet-count": "integer", The number of packets in each burst. This\nmust be specified if, and only if, the\nSendType is 'Burst'.
range: "2..1200"
"packet-interval-unit": "string" Time unit associated with the\nPacketInterval
} }

PACKET-SIZE-AND-PADDING - Update

PUT Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/packet-size-and-padding/

Update operation of resource: packet-size-and-padding

packet-size-and-paddingbody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PACKET-SIZE-AND-PADDING - Create

POST Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/packet-size-and-padding/

Create operation of resource: packet-size-and-padding

packet-size-and-paddingbody object

profile-name: string
in path

ID of profile-name

Request Content-Types: application/json
Request Example
{    
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PACKET-SIZE-AND-PADDING - Delete

DELETE Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/packet-size-and-padding/

Delete operation of resource: packet-size-and-padding

profile-name: string
in path

ID of profile-name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PACKET-SIZE-AND-PADDING - Retrieve

GET Cisco-IOS-XR-infra-sla-cfg:sla/protocols/ethernet/profiles/profile/{profile-name}/probe/packet-size-and-padding/

Retrieve operation of resource: packet-size-and-padding

profile-name: string
in path

ID of profile-name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"padding-type": "string", Type of padding to be used for the packet
"padding-value": "string", Pattern to be used for hex padding. This\ncan be specified if, and only if, the\nPaddingType is 'Hex'.
"size": "integer" Minimum size to pad outgoing packet to
range: "1..9000"
} }